- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cron jobs
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
тАО07-06-2000 12:09 AM
тАО07-06-2000 12:09 AM
I would like to schedule in my crontab file that every 12 hours run the command to find core files and them delete them. So I have the below command, but I'm not sure if it's correct, PLS correct me if it's rong.
* 12 * * * /usr/bin/find / -name core -exec rm {} ;
Thanks,
A Cossa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 12:41 AM
тАО07-06-2000 12:41 AM
Re: cron jobs
don't forget to put "" before ";"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 12:44 AM
тАО07-06-2000 12:44 AM
Re: cron jobs
This is a forums problem that the \ is not displayed if you pusched it only once.
So to push the \ you have to type it twice (only for forum).
I think augusto has type the \ correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 12:44 AM
тАО07-06-2000 12:44 AM
Re: cron jobs
don't forget to put "\" before ";"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 01:05 AM
тАО07-06-2000 01:05 AM
Re: cron jobs
Thanks to all. Know it working as I scheduled.
A Cossa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 06:11 AM
тАО07-06-2000 06:11 AM
Re: cron jobs
0 12 * * * /usr/bin/find / -name core -exec rm {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 06:19 AM
тАО07-06-2000 06:19 AM
Re: cron jobs
0 0,12 * * *
This would run at 00:00 and at 12:00 each day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2000 04:46 PM
тАО07-08-2000 04:46 PM
Re: cron jobs
# set ulimit (if running POSIX shell)
if [ "$0" = "-sh" ]
then
ulimit -c 0
fi
ulimit -a will show the settable options. ulimit in ksh is a programmatic interface to setrlimit/getrlimit
Bill Hassell, sysadmin