Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have crontabs across multiple servers using different accounts. The scripts are separated such for a reason, different users for different services, etc. I did some searching for a tool to track what is running where in a central location, but didn't find anything. How are others keeping track of their crontabs? I'm writing some code now to fetch the crontabs from the servers and aggregate them in a central place, but was wondering if anyone has an elegant solution to this problem?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If the crontab entries are for system functions, I suggest keeping them in /etc/cron.d in files by function, and mananging them there. Alternatively, /etc/crontab also permits you to specify which user to run the entries as, so that's a good option also.

For keeping track you have two options. Collect all of the crontabs to a central place, or distribute them all from a central place. Either works; it is a question of where you want control to be.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.