HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Crontab rolling back.
Operating System - Linux
1832284
Members
1781
Online
110041
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
09-19-2005 02:03 AM
09-19-2005 02:03 AM
Crontab rolling back.
root cron rollbacked to some unknown file this weekend. not sure what the hell is going on
I vi'd /var/tmp/root.cron last week
changed one parameter
read the file in with
crontab /var/tmp/root.cron
We reboot daily and run a backup daily upon system coming up.
Correct -------
30 23 * * * /pei/peitools/bin/reboot.sh
55 23 * * * /pei/peitools/bin/backups.sh
When we came in this morning, backups/exports had not run, and crontab -l output looked like this:
30 23 * * * /pei/peitools/bin/reboot.sh
55 23 * * 1-5 /pei/peitools/bin/backups.sh
Needless to say, I am a wee bit baffled and need to some info from the gurus. Any thoughts from you guys you all can pass along?
I vi'd /var/tmp/root.cron last week
changed one parameter
read the file in with
crontab /var/tmp/root.cron
We reboot daily and run a backup daily upon system coming up.
Correct -------
30 23 * * * /pei/peitools/bin/reboot.sh
55 23 * * * /pei/peitools/bin/backups.sh
When we came in this morning, backups/exports had not run, and crontab -l output looked like this:
30 23 * * * /pei/peitools/bin/reboot.sh
55 23 * * 1-5 /pei/peitools/bin/backups.sh
Needless to say, I am a wee bit baffled and need to some info from the gurus. Any thoughts from you guys you all can pass along?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 02:26 AM
09-19-2005 02:26 AM
Re: Crontab rolling back.
The /var/log/cron file has records of what happened with cron entries. Maybe someone/somehow the cron was replaced again.
Check the entries in the /var/log/cron file.
In the Linux version I use, i see a REPLACE entry when someone runs crontab filename.
Check the entries in the /var/log/cron file.
In the Linux version I use, i see a REPLACE entry when someone runs crontab filename.
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
09-19-2005 02:29 AM
09-19-2005 02:29 AM
Re: Crontab rolling back.
Ivan,
the log gets overwrote on reboot by the looks of it.
the log gets overwrote on reboot by the looks of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 02:46 AM
09-19-2005 02:46 AM
Re: Crontab rolling back.
I am closing this thread and moving it to HP/UX system admin..
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