0
votes

I try to set a cron job for my site. I am using parallel plesk 11.0.9 . I am using the below commands

  • env php -q /var/www/vhosts/site.ca/httpdocs/crone.php

  • /var/www/vhosts/site.ca/httpdocs/crone.php

  • /usr/bin/php -q /var/www/vhosts/fpmls.ca/httpdocs/test.php

    etc . But it shows the below errors

  • No such file or directory

  • env: command not found

  • /usr/bin/php: No such file or directory

1
Why you used /usr/bin/php, Either use "php" instead or use the correct path of php if you know.Sanjay Kumar N S

1 Answers

0
votes

PHP might not be available in the chrooted environment.

This KB article might help: http://kb.sp.parallels.com/en/115842