• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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