- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- About crontab
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
Forums
Discussions
Discussions
Discussions
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
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
06-19-2003 09:44 PM
06-19-2003 09:44 PM
About crontab
50 13 * * 5 fbackup -f /backup/app.`date '+%y%m%d'` -0i /tmp/demo -I index.tmp
but after 13:50,i find that fbackup hasn't been run. why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:05 PM
06-19-2003 10:05 PM
Re: About crontab
1. Whether the system date is today, you mean only Friday do the backup;
2. Manually run the "fbackup -f ...",what's the result?
3. Check /var/mail/root for errorlog!
good luck!
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:14 PM
06-19-2003 10:14 PM
Re: About crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:14 PM
06-19-2003 10:14 PM
Re: About crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:15 PM
06-19-2003 10:15 PM
Re: About crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:21 PM
06-19-2003 10:21 PM
Re: About crontab
fbackup -f /backup/app.`date '+%y%m%d'` -0i /tmp/demo -I
2. edit crontab as follows:
50 13 * * 5 backup_cmd.sh
Sorry for the connection problem above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:24 PM
06-19-2003 10:24 PM
Re: About crontab
You may get an indication from root's mail. The other thing to be sure of is that the program or script has executable permissions. In the command your using, it will be a path problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:49 PM
06-19-2003 10:49 PM
Re: About crontab
# more /backuporadata/backu01
fbackup -f /backuporadata/oracle.app.`date '+20%y%m%d'` -0i /u01
# crontab -l
59 23 * * 5 /backuporadata/backu01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 01:54 AM
06-20-2003 01:54 AM
Re: About crontab
you need to escape the % characters in your crontab command. See crontab(1) for details of why this is necessary.
The correct version of the command is:
50 13 * * 5 fbackup -f /backup/app.`date '+\%y\%m\%d'` -0i /tmp/demo -I index.tmp
HTH,
Michael.