• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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