Precisely Speaking
September 08, 2010, 05:42:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: So what's news with you?  Tell us about it in "Getting To Know You"!
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: MITS Tips - Have a tip to share?  (Read 3412 times)
Ross Morrissey
Global Moderator
Associate
*****
Posts: 6



WWW
« on: October 09, 2008, 05:14:52 PM »

Is the AutoRun Scheduler really running?

Today I added a couple of custom jobs to the AutoRun schedule on a UniData/AIX box:

!touch /tmp/MITS.AUTORUN.STARTED
!touch /tmp/MITS.AUTORUN.FINISHED

The first job is at the top of the list of jobs, and the second at the bottom.

These will be inspected by another process before the start of business each day to ensure that the values are sensible - i.e. the modified time on MITS.AUTORUN.FINISHED is both recent and greater than MITS.AUTORUN.STARTED.

The UniVerse/Unix equivalent would be something like:

sh -c "touch /tmp/MITS.AUTORUN.STARTED"
sh -c "touch /tmp/MITS.AUTORUN.STOPPED"

Have a tip to share?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!