Question

  Asked: Jul 23 2008   7:34 AM GMT
  Asked by: Maltaf


jjob scdeule entry


JOBSCDE, WRKJOBSCDE, iSeries

I want to run a command through wrkjobscde and it repeat after every five minutes

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0




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 :-

PGM

LOOP:
Yourcommand

DLYJOB DLY(300)
GOTO CMDLBL(LOOP)

ENDPGM



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

Regards,

Martin Gilbert.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register