jjob scdeule entry

65 pts.
Tags:
iSeries
JOBSCDE
WRKJOBSCDE
I want to run a command through wrkjobscde and it repeat after every five minutes
ASKED: July 23, 2008  7:34 AM
UPDATED: July 23, 2008  2:01 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

I wouldn’t try doing this in the jobscheduler. I suggest you write a small CL program to run your command every 5 minutes :-

<b>PGM

LOOP:
Yourcommand

DLYJOB DLY(300)
GOTO CMDLBL(LOOP)

ENDPGM</b>

Then you only need to submit the CL program one time and it’ll keep running your command every 5 minutes.

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following