crontab file [message #151180] |
Tue, 13 December 2005 10:29 |
toshidas2000
Messages: 120 Registered: November 2005
|
Senior Member |
|
|
Can anyone tell me in solaris where crontab file is located.
Thanks
Toshi
|
|
|
|
Re: crontab file [message #151200 is a reply to message #151180] |
Tue, 13 December 2005 14:26 |
Ronald Beck
Messages: 121 Registered: February 2003
|
Senior Member |
|
|
Cron files can be found under /var/spool/cron/crontabs/<username> where <username> is the user that the cron job will run under.
To edit a cron job, log in as that user and enter crontab -e to go into the edit mode. If you prefer to use vi for your editor, perform "setenv EDITOR vi" before the crontab -e command.
If you're root, you can use crontab -e <username> to edit any user's crontab file.
HTH,
Ron
|
|
|