Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can cron be reinstalled? If so, how to take cron job backups created by system and applications like postfix, apache etc.,

Now after taking backups how to reinstall cron?

share|improve this question
    
Why you want to do this? –  pl1nk May 30 '12 at 0:29

1 Answer 1

you can reinstall cron with :

      sudo apt-get --reinstall install paquete

reinstall dont delete your conf files, but if you want a backup, you nedd the next files and folder for cron's system :

   /etc/crontab

   /etc/cron.d/
   /etc/cron.daily/
   /etc/cron.hourly
   /etc/cron.monthly
   /etc/cron.weekly

and for user's cron :

    /var/spool/cron/
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.