S.A
S.A

Reputation: 576

Recover cron jobs through file structure

One of the drives on my server recently gave out and corrupted the OS. I was able to restore all the files, but now I have a backup drive with just the file system; not bootable. I'm setting up a new server now, and need to setup the old cron jobs. Is there a way to look through the file structure to see all cron jobs that were setup on the old server? Server was CentOS, not sure of version. Thanks in advance!

Upvotes: 0

Views: 1279

Answers (1)

Joe T
Joe T

Reputation: 2350

Crontabs belonging to individual users should be found in

/var/spool/cron/##USERNAME##

Whereas the server-wide crontab should be in

/etc/crontab

Upvotes: 2

Related Questions