[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: [cobalt-users] Planned execution of a script on a RAQ - AT not there ?



> Both suggestions look like a great theory but I cannot find a "down to 
> earth" example in any of the forums I know.
> I do have a Perl script ready for the action, but am not sure how to make 
> sure the server time is accurate, and especially give a job the highest 
> priority ?
> 
> 

To *pause* the process until the desired time there are some options. I
use to make a C program, use in it the sleep statement or signaling, and
then launch the *triggered script* or whatever. But unfortunately I
don't have any of this programs on the hand now. I will look for them
this night at home.

But you can use others languages that support somethink like the
sleep_until, or sleep statements.

For increase the priority, use the 'nice' command. Works very very fine,
since it's close to the kernel process scheduler. 

Cheers!!

  fabRiX