The problem is that when you issue the automatic command with a time in the past, it will be issued immediately. You can avoid this by scheduling it for the next day with T=24.05. T= is calculated from the last midnight, so 24.05 means 00:05 tomorrow morning.
Kees. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Sean Gleann > Sent: 06 November, 2018 9:49 > To: [email protected] > Subject: Anyone using cron? > > Hello all > > I have a need to run a couple of batch jobstreams at the same time every > day. > The streams are fully developed and they run happily at the required > time(s), under control of a couple of JES 'TA' automatic commands: > £ T A0001,I=86400,T=00.05,'£VS,''S JOB,N=DLYWORK1''' > £ T A0002,I=86400,T=00.10,'£VS,''S JOB,N=DLYWORK2''' > ('JOB' is an IEBGENER that copies files to the internal reader) > The trouble with that solution is that TA commands are obeyed both at > the > prescribed times AND at IPL (or JES start?) time. > Given that I'm currently working on commissioning a new production > system, IPLs are still fairly frequent, and so the timed jobstreams keep > resulting in 'unexpected' results. > > There isn't any cash in the kitty for something like OPC (now Tivoli?) > or > CA-7, and I've been unable to track down any 'freeware' batch job > scheduler > (though I'd be happy to be shown the error of my ways on that), so I > decided to try using cron instead. > > Is anybody using cron in this way? Is there anything I should beware of? > > Sean > > . > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
