Thursday, November 17, 2016

Cron berjalan tiap 10 menit dan perhari

You may want to run a script some number of times per time unit. For example if you want to run it every 10 minutes use the following crontab entry (runs on minutes divisible by 10: 0, 10, 20, 30, etc.) 
*/10 * * * * /usr/bin/somedirectory/somecommand

untuk yang per hari

0 0 * * * /usr/bin/somedirectory/somecommand