• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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