| Using #crontab to schedule your tasks in linux |
| Written by Mohd Izuardi Ibrahim | |
| Friday, 20 October 2006 | |
|
The situation: Before I go to my situation where i need to use the #crontab. Allow me to introduce you a bit about #crontab. crontab ( also known as cronjob) is a program to perform tasks (any tasks you give) during a specific time - even certain days of a week, or it could be anything. This command is just so powerful.
The problem: Ok say I want to move a folder /home/me/Desktop/videos to a new directory (or another network folder) and I don't want to do it right now (Maybe because I don't want my computer to slow down). So what do I do is set the move command (#mv) in the crontab file. # m h dom mon dow command
4. Type in your cron job. I just take my previous example of moving the folder /home/me/Desktop/videos to the folder /home/me/MyCollections during 21 Sept 2006, 11AM on the fourth day of the week. So I edit my crontab and mine should looked like this: # m h dom mon dow command
# m h dom mon dow command
Comments (0)
![]() Write comment
|
The name is Mohd Izuardi Ibrahim. He is a proud Malaysian who loved to spend his quality times with his beloved equipments and personal computer. He enjoys messing around with those cables and that hardwares, sometimes he is crazy enough to code complex scripts, and there are few times he plays around with those lazy system administrators over the internet. 

