How to do the scheduled task/jobs in Unix platform

Showing Answers 1 - 10 of 10 Answers

raja

  • Mar 15th, 2005
 

cron job feature in unix.

  Was this answer useful?  Yes

Chiranjeevi Manne

  • Mar 30th, 2007
 

The two available options are
1. CRONTAB
2. AT (One time scheduling)

matabrez

  • Jan 15th, 2011
 

Using crontab we can schedule task/jobs to run at particular time, date, day
basis.
steps.


1. Login to unix
2. At $prompt 'crontab -l' use this command to check what jobs are already
scheduled.
3. To edit or configure a job use " crontab -e" it will open crontab file which
is same like editing file in vi editor. Now schedule the jobs as per your
requirement.


It look like this
0 2 * * *


The above file will be executed daily at 2 am


1 2 3 4 5 = specific time tags
- where -
1 = Minute (of hour) to activate [0-59]
2 = Hour (of day) to activate [0-23]
3 = Day (of month) to activate [1-31 ... 29,30,31 may not activate during all
months]
4 = Month (of year) to activate [1-12 or 3-letter names "Jan,Feb,Mar"]
5 = Weekday to activate [0-7 or 3-letter names "Mon,Tue,Wed"]


  Was this answer useful?  Yes

Nandu

  • Aug 11th, 2011
 

By using the command

crontab

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions