How to set up cron job on CentOS

Velid Vrabac picture Velid Vrabac · Feb 4, 2013 · Viewed 48.1k times · Source

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!

Answer

mlbx02 picture mlbx02 · Feb 14, 2013

You can try out different timing values in the crontab sandbox. It will show you a list of run times. www.dataphyx.com/cronsandbox/.