I've searched everywhere, but can't seem to find the answer. I'm trying to run this through Linux Debian SSH terminal
0 */5 * * * /var/www/test/cron.php
And of course there should be some keyword at first to make it run: for example
cron 0 */5 * * * /var/www/test/cron.php
But it doesn't work. What should I do ?
cron
entry is to edit the user's crontab.ssh remote crontab -e
will bring up an editor. If you are unfamiliar with Unix editors, or prefer noninteractive operation, tryssh remote '(crontab -l; echo "0 */5 * * * /var/www/test/cron.php" ) | crontab -'