Reputation: 101
I don't know how to set up cron with ssh? I opened ssh and typed "crontab -e". What do I do then? I want to repeat the function every minute. I have this code as "cron command to run": php -f /var/www/vhosts/nf-test-host.tk/httpdocs/admin/cron/cron.php.
I am on CentOS. What should I do, exactly? Thanks in advance!
Upvotes: 10
Views: 48880
Reputation: 1274
Use command:
sudo yum install vixie-cron crontabs
or look this http://shanerutter.co.uk/2011/11/23/centos-installing-cron-cronjobs-or-cron-daemon-crond/
Upvotes: 1
Reputation: 49
You can try out different timing values in the crontab sandbox. It will show you a list of run times. www.dataphyx.com/cronsandbox/.
Upvotes: 4
Reputation: 87
Here is your answer:
(If you are not running Drupal, that is fine, this still applies equally well to you.)
Let us know.
Upvotes: 2