|
> From: Wills, Mike N. (TC)
>
> You can do that in the Unix world too. That is what cron jobs are for. I
> don't know any more detail than that though.
ANYTHING you can do in one computer you can do in another. It's just a
matter of how it's done. In Unix, you update a table:
01 * * * * root echo "This command is run at one min past every hour"
17 8 * * * root echo "This command is run daily at 8:17 am"
17 20 * * * root echo "This command is run daily at 8:17 pm"
00 4 * * 0 root echo "This command is run at 4 am every Sunday"
* 4 * * Sun root echo "So is this"
42 4 1 * * root echo "This command is run 4:42 am every 1st of the month"
01 * 19 07 * root echo "This command is run hourly on the 19th of July"
In OS/400, it's something like this (for the 4AM job):
ADDJOBSCDE JOB(MYJOB) CMD(CALL PGM(MYPGM))
FRQ(*WEEKLY) SCDDAY(*SUN) SCDTIME(0400)
It's much easier to add a one-shot job using ADDJOBSCDE than it is to use
cron. But like I said, it can be done.
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.