codenamezero
Explorer
- Joined
- Sep 4, 2011
- Messages
- 59
SOLVED: How do you get your cron job to run?
I wrote a script that could remove completed torrent from Transmission, but i couldn't get cron to run the job...
So I ran this to see what job the root is running but...
I open up the crontab, there are clearly a couple of cron job under root, but not sure why is not being set... I added the following entry, tried restarting cron, reboot, nothing.
Could anyone tell me how you added your own cron job?
I wrote a script that could remove completed torrent from Transmission, but i couldn't get cron to run the job...
So I ran this to see what job the root is running but...
Code:
freenas# crontab -u root -l crontab: no crontab for root
I open up the crontab, there are clearly a couple of cron job under root, but not sure why is not being set... I added the following entry, tried restarting cron, reboot, nothing.
Code:
freenas# vi /etc/crontab # Remove completed torrent from Transmission */5 * * * * root /mnt/FREENAS/torrent/bin/remove_completed
Could anyone tell me how you added your own cron job?