"Goutam Baul" <[EMAIL PROTECTED]> thus wrote: > How I can have a backup of the crontab file ?
Per user cron entries are stored in the directory "/var/spool/cron". Although as Sridhar suggested, "crontab -l > yourfile", is your best bet to save the current cron entries of the user you execute the above command as. If you have root permissions, then you can always peek into "/var/spool/cron" and obtain the cron entries of all the users. For regular backup, you can create a simple script which reads the cron entries of all users and saves it somewhere convenient. And then put that script in the crontab of root. :-) Although, why you need to backup cron entries, I just can't understand. -- arc_of_descent ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
