|
Main settings |
Top Previous Next |
|
In the the Add job, Edit job or Clone job dialogs, then Main settings for a job is available.
Name Mandatory parameter, unique name for the job.
Description Add information to see the difference between jobs.
Run once (can be activated later)
Run missed jobs once at start This function can be used for a specific job to let a job automatically run if it should have been run during a time when the VisualCron service was down/stopped for any reason (typically due to server computer off). For example, a job is supposed to run once a day at 08:00. Let's say that the server goes down at 07:00 because a power failure. The problem is corrected and the server goes up at 09:00. If the Run missed jobs once at start box is checked, VisualCron will at startup check if the job was supposed to run between the last time VisualCron was up and the current time. If so, that job will be run once. Note 1: Currently, run missed jobs doesn't take time exceptions into account. A missed job will run even if there was a time exception during that time. Note 2: The "run missed events" behaviour is not active when the server has been stopped by the user (i.e. server status "Off").
Remove job after running If you check this box the job will be removed right after running.
Run randomly using value To be selected if you want to run jobs at irregular time intervals. Check the box and enter a probility value. For example value 2 means that the job will run approximately 1 out of 2 times. So if you want your job to run approximately three times an hour, you should specify value 20 and in the Time settings select to run it every minute. 1 out of 20 times, the job will run every minute (60/20 = 3 times in one hour). Note that this is a probability value. In this case, the job may run 2 times one hour and 4 times another hour.
Do not start job if job is already running When a job is running it is "flagged" as running. If you don't want to execute your job while it's running the check this box. This can be useful when using the new events which can trigger your job very often if you set the watch parameters "loosely". If the job is triggered when this box is checked, a log entry will inform that the job wasn't run due to this setting.
Run Tasks in order One job can contain many tasks. If you for some reason want to run your tasks in a special order, check this checkbox. The specific task order is set up under the Tasks tab. If you don't want to run the tasks in order, VisualCron will try to run them at the same time. This can shorten the actual run time for the job since some tasks are dependant on external factors like a remote server.
Activate (when added) By default a new job is activated (will be run if the time is right) when it's added. |