- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to tell how many cron jobs are in the queue
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
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
тАО10-17-2007 06:49 AM
тАО10-17-2007 06:49 AM
We recently had a problem when a script that runs every few minutes failed to complete and filled up the queue. The script has logic to make sure this won't happen but apparently didn't work. That's being fixed but we'd also like to set up a Tivoli alert.
Does anyone know how to check the number of cron entries in the queue? (I've already changed /var/adm/cron/queuedefs)
Thanks,
Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 07:09 AM
тАО10-17-2007 07:09 AM
SolutionAlso u may put some thing similar condition in script
cat /var/adm/cron/log|tail -100|grep "MAXRUN" >/dev/null 2>&1
if [ $? -eq 0 ]
then
echo "PLease check cron jobs"
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 07:11 AM
тАО10-17-2007 07:11 AM
Re: How to tell how many cron jobs are in the queue
it's the queue description file for at, batch, and crontab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 07:11 AM
тАО10-17-2007 07:11 AM
Re: How to tell how many cron jobs are in the queue
and
crontab -l
??
Maybe you could monitor the size of /var/adm/cron/FIFO?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2007 06:39 AM
тАО10-18-2007 06:39 AM
Re: How to tell how many cron jobs are in the queue
Thanks!