I need to find all the scripts on server which run automatically. The server crashed 2 times yesterday and I need to move all the cron scripts to move to backup server. Please tell me how to identify these scripts ?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
migrated from stackoverflow.com Jan 20 '11 at 12:29
|
crontab -l and check /etc/crontab |
|||||||
|
|
I'm assuming since you mentioned cron that you're on a Linux platform, in which case you can do this,
This will show the cron jobs for every user on the system, so it will show you which scripts run automatically. There will probably be some system level ones too, in which case you do this to see them,
|
|||||||||||||
|
will list all the scheduled scripts. Hope it helps. |
|||||||
|
/usr/etc/crontab. – Alix Axel Jan 19 '11 at 17:26