My settings: Server OS Debian 9.6 Plesk 17.8.11 Magento 1.9.4.0 PHP 7.2
When I run schedule task cron.sh I get this:
Task "/httpdocs/cron.sh" successfully completed in 0 seconds, output: /httpdocs/cron.sh: 1: /httpdocs/cron.sh: which: not found /httpdocs/cron.sh: 1: /httpdocs/cron.sh: sed: not found /httpdocs/cron.sh: 1: /httpdocs/cron.sh: expr: not found /httpdocs/cron.sh: 50: /httpdocs/cron.sh: ps: not found /httpdocs/cron.sh: 51: /httpdocs/cron.sh: cron.php: not found
Cron doesn't work. Where is the problem? Could you help, please
I think that the problem is with Plesk...
I setup crontab using SSH
crontab -e
*/5 * * * * sh /path/to/y