Do I need put " python" infront for the .py if write a crontab for it?
This is how I do it - */10 * * * * /home/TwitterFollowBot/python bot.py
is this correct? and I need to run it every 10 minutes. And will it work even after closing the terminal?
Nov 26 07:12:01 ip************* CRON[3180]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:13:01 ip************* CRON[3190]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:14:01 ip************* CRON[3195]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:15:01 ip************* CRON[3211]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:16:01 ip************* CRON[3226]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:17:01 ip************* CRON[3243]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:17:01 ip************* CRON[3244]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 26 07:18:01 ip************* CRON[3275]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:19:01 ip************* CRON[3278]: (root) CMD (python /home/TwitterFollowBot/bot.py) Nov 26 07:20:01 ip************* CRON[3282]: (root) CMD (python /home/TwitterFollowBot/bot.py)