Cron job issue
After installation, I am facing issue with cron job.
Earlier I have dolphin website, where 'crontab' file is present. Same file is copied and placed in exact folder and website name changed in file.
crontab file content
MAILTO=admin@website.com
* * * * * cd /var/www/vhosts/website.com/httpdocs/periodic; /usr/bin/php -q cron.php
Scheduled task was also implemented in the same way.
However, I am getting error
-: line 0: cd: /var/www/vhosts/website.com/httpdocs/periodic: No such file or directory
-: /opt/plesk/php/7.1/bin/php: No such file or directory
-
-
- · Surya
- ·
Earlier, I have dolphin website, where 'crontab' file is present.
Same file ("crontab'' file with above mentioned content) is copied and placed in exact folder (see image attached) and website name changed in file.
Also, same server I am using for this 'una' based website.
-
- · Surya
- ·
Since, the cronjob step is confusing during una website installation. I did in the same way as it was in my dolphin site. Also, I tried changing php version to 5.6 and also I scheduled task. I am getting the above error with .../php/5.6/bin...
-