|
On Fri, 2003-01-17 at 15:32, Joe Pluta wrote: [snip] > > 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. Hi Joe Just for reference, using 'at' for one-off tasks like this would be easier on *nix systems than cron myscript | at 04:00 would schedule myscript to run at 4am (next day if already past that time). Besides, ADDJOBSCDE doesn't support such predefined times as midnight, noon and teatime (4pm apparently) ;) As far as Windows scheduling goes, ISTR an Agent available in the Plus! pack for Win'95 that seemed to work, though I never made much use of it. Regards, Martin -- martin@dbg400.net AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X [this space for hire] ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.