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 ?
|
feedback
|
migrated from stackoverflow.com Jan 20 '11 at 12:29
This question came from our site for professional and enthusiast programmers.
|
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,
| |||||||||||||
feedback
|
|
crontab -l and check /etc/crontab | |||||||
feedback
|
will list all the scheduled scripts. Hope it helps. | |||||||
feedback
|
/usr/etc/crontab. – Alix Axel Jan 19 '11 at 17:26