Home » Infrastructure » Unix » crontab file
crontab file [message #151180] Tue, 13 December 2005 10:29 Go to next message
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 #151189 is a reply to message #151180] Tue, 13 December 2005 11:03 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Anywhere. Depends on your configuration.
usually in /var/opt/oracle.
I would check dbstart/dbshut scripts.
They usually have entry.
But it does not mean that the oratab file SHOULD be there.
Meanwhile, how long will it take you to do a system wide search?
Re: crontab file [message #151200 is a reply to message #151180] Tue, 13 December 2005 14:26 Go to previous message
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
Previous Topic: LISTENER PROBLEM
Next Topic: Swap space
Goto Forum:
  


Current Time: Mon Nov 25 10:32:25 CST 2024