You need better documentation on how to schedule jobs in the Web Interface

It took me half a day to figure out how to get my web interface generic agent jobs to run. The scheduling function is not intuitive at all and only by chewing through the source code of GenericAgent.pl was I able to get a picture of what was happening. The assumption I was operating under was that the scheduler was just like a cron. If I wanted it to run every 10 minutes, then I would select only 10 in the minutes and leave everything else blank. I found that out that I have to explicitly specify the days and times I want the job to run. Perhaps adding some documentation as follows would be helpful. ---documentation--- The scheduler is an important aspect of the Generic Agent Web Interface. You must explicitly define the times that you would like the job to run at. Not setting any schedule will cause the job to only run once a day at 00:00 hours. Here are some examples: Q. How do I make my job run every 10 minutes continously? A. Use ctrl+click to select every value (10 - 60) in the minutes column. Use ctrl+click to select every value in the hours column (00-23). Use ctrl+click to select every value in the days column (Sun-Sat). This tells to the program to run at the 10,20,30,40,50, and 60 minute mark of every hour of every day. Q. How can I make my job run every 20 minutes continously? A. Select 20, 40, and 60 for the minutes. Select all of the values for hours and days. Q. How can I make my job run at 5:30 on Saturdays? A. Select 30 for the minutes. Select 05 for the hours. Select Sat for the days. As you can see, the scheduler does not operate the same as a cron job where you need only specify one value and can leave the rest as wildcard values. The scheduler will only execute jobs at the specified times of explicitly defined day(s), hour(s), and minute(s). ---documentation--- Hope this helps the next traveler. Tyler Hepworth
participants (1)
-
Tyler Hepworth