- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving cron to another system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-14-2006 04:12 AM
тАО09-14-2006 04:12 AM
Hi all.
I am in the process of moving an old production system on to another new system. My question is regarding all the cronjobs. To move them to the new system, can I just tar /var/spool/cron/crontabs on the old and untar it on the new system? I know that I will have to go thru each users crontab file and hunt down the scripts that are called. Am I missing anything else for this procedure?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 04:24 AM
тАО09-14-2006 04:24 AM
Re: Moving cron to another system
Make sure that appropriate users exist on the new system, and that you you restart the cron daemon ('/sbin/init.d/cron stop && /sbin/init.d/cron start') after you untar.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 04:27 AM
тАО09-14-2006 04:27 AM
Re: Moving cron to another system
Yes that will work provided
all the same users (uids need to be the same as well)exist
users are in cron.allow
cron is stopped and restarted after the restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 04:27 AM
тАО09-14-2006 04:27 AM
Re: Moving cron to another system
While you can copy the contents of '/var/spool/cron/crontabs' from one server to another, you must stop and (re)start the 'cron' daemon afterwards to enable 'cron' to process the directory's contents. Do:
# /sbin/init.d/cron stop
# /sbin/init.d/cron start
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2006 05:07 AM
тАО09-14-2006 05:07 AM