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?

1

1 Answer

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/ /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 

and for user's cron :

 /var/spool/cron/ 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy