HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: cron jobs issue
Operating System - Tru64 Unix
1829093
Members
2509
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 07:50 PM
05-30-2007 07:50 PM
cron jobs issue
dear gurus,
a user complaits that a cronjob is missing.
is there a possibility to recover cronjobs made by users?
thanks!
a user complaits that a cronjob is missing.
is there a possibility to recover cronjobs made by users?
thanks!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 11:54 PM
05-30-2007 11:54 PM
Re: cron jobs issue
Do you have backups of /var? A user's crontab entries are kept in /var/spool/cron/crontabs/ in a file with the username as the filename.
Vic
Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 02:54 AM
05-31-2007 02:54 AM
Re: cron jobs issue
You have to restore from a backup the user file in /var/spool/cron/crontabs.
Instruct also to your users to save their cron files using:
crontab -l > cron.backup
Then, if it's missed for some reason, just restore it using:
crontab cron.backup
Instruct also to your users to save their cron files using:
crontab -l > cron.backup
Then, if it's missed for some reason, just restore it using:
crontab cron.backup
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 05:06 AM
05-31-2007 05:06 AM
Re: cron jobs issue
An even better solution is to use RCS (Revision Control System) to keep an archive of the cron.backup file.
The advantage in a production environment is that you can register all historical changes. If user complaints come later then you know who changed what/when/why.
The same goes of course for your shell scripts.
The advantage in a production environment is that you can register all historical changes. If user complaints come later then you know who changed what/when/why.
The same goes of course for your shell scripts.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP