Add below lines to /etc/crontab

*/5 *  *  *  * root run-parts /etc/cron.05min


Make a new directory for cron.05min

mkdir /etc/cron.05min


Create an executable bot you want

kurapa_bot.cron
#!/bin/bash
php /var/bot/kurapa.php >> /var/log/kurapa_bot.log


  • No labels