• 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.

cant get the cron job to work

C

cracicot

Guest
I have tried numerous methods.
Errors:
/bin/sh: line 1: /bin/php: No such file or directory

/bin/sh: line 1: /usr/local/psa/admin/bin/php: Permission denied

Could not open input file: http://xxx.com/images/export/backup.php

/bin/sh: line 1: http://www.xxx.com/images/export/backup.php: No such file or directory

No matter what I do, I cannot get the cron job to work.
I am sure it has to do with with the path, which I have tried about 8 different ones that should work, or the path for the php file to run.

Could someone please help me run this darn thing?
 
Are you trying to run a php file? Did you indicated the absolute path in the server (not http) something like:

/home/httpd/vhosts/domain/httpdocs/path_to_the_php_file

Cheers,

DXTrim
 
Back
Top