Quote:
Originally Posted by sanjustudy
hai ,
go to /etc
open crontab
specify
* * * * * roots /a/b/c/program name
the stars will be
1. minutes
2.hours.
3.day of the week
4.day of the month
5.month of the year
according what u specfied u can run the job
Hmm... lots of incorrect and/or misleading information here.
Firstly, this is the system crontab (under Linux) - as can be seen by the additional field between the scheduling fields, and the command field. This field contains the username of the user as which the command is to run. Now, in this case, I assume the user "roots" is a standard user? If you're refering to the superuser, then the correct username is "root". Also, the ordering of the fields as you've described is way off.
1. minutes
2. hours
3. day of month
4. month
5. day of week
Is the correct ordering of the scheduling fields. Before posting a reply, check that it's correct. If you have any doubts, check the crontab manual page....
Cheers
ZB