• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

crontab problem

A

alekhin

Guest
hi everyone

my problem is that my crontabs are not working. I always receive the same error

/bin/sh: /srv/www/vhosts/domain.com/httpdocs/cron/script.php: Permission denied

i'm creating these crontabs from my admin account.

can anyone help me please?

thank you
 
the script is working when i write it to address bar

if that is what you mean it is executable :)
 
Hi.

Either write your script as a CLI script and call the interpreter in the first line
eg;

#!/bin/php-cli

(Google command line php)


or call you cronjob using GET, lynks, elinks or wget eg...

30 12 * * * GET /path/to/phpscript.php
 
i received 2 different errors...

- /bin/sh: GET: command not found

- /srv/www/vhosts/siyahkahve.com/httpdocs/cron/daily_count_comment.php: Unsupported scheme.
 
Back
Top