attiquer
2/8/2016 - 3:27 PM

Setup Crontab ssh

Setup Crontab ssh

crontab -e
*/5 * * * * php /var/www/vhosts/smallworldbabyshop.co.uk/htdocs/cron.sh

To open crontab with specific user:
crontab -u USERNAME -e
Then add
*/5 * * * * /usr/bin/php (or path/to/php) /path/to/cron.php