Into the system there are processes which are performed during normal execution of the program without the intervention of a user. These processes are scheduled tasks since you can schedule their execution. The section Scheduled Tasks allows you to schedule the execution of these processes.
The list of scheduled tasks shows:
- Name of the task
- Last run time stamp
- Next run timestamp
- Scheduling policy
- Progress indicator
The task can be launched only if it is enabled. Each scheduled task can be executed or stopped, enabled or disabled by right clicking the task item and then selecting the operation context menu item.
Although the scheduled tasks can be launched whenever you wish, as the name suggests, they are generally performed on a time schedule. Selecting a task, will be showed the scheduling details panel where you can plan the execution. To store all new settings, you have to confirm using the Save button.
In addition to the descriptive parameters of scheduling, you can set the specific maximum duration of processing. If this is specified, the procedure will be automatically stopped after the configured time.
You can choose the simple or advanced policy. In the second one the execution planning is done by the specification of 6 fields (as in the Unix cron command) listed below:
|Field Name||Mandatory||Allowed Values||Special Symbols|
|Seconds||yes||0-59||, - * /|
|Minutes||yes||0-59||, - * /|
|Hours||yes||0-23||, - * /|
|Day of Month||yes||1-31||, - * ? / L W|
|Month||yes||1-12||, - * /|
|Day of Week||yes||1-7 (1=sunday)||, - * ? / L #|
|Year||no||empty, 1970-2099||, - * /|
Special configurable characters take the following meanings:
- The character '?' is allowed on the day of the month and day of the week. It is used to define any specific day.
- The character '*' is used to specify all the values. For example '*' in the minutes indicates "every minute".
- The character ',' is used to specify additional values. For example 2,4,6 on the day of the week indicates "the day Monday, Wednesday and Friday."
- The character '/' is used to specify increments. For example'0/15' in the second indicates "the second 0, 15, 30 and 45" and "5/15" in the same field shows "the second 5, 20, 35 and 50".
- The character '-' is used to specify intervals. For example, "0-5" in the hours field indicates "all hours between 0 and 5". The execution will take place at hours 0,1,2,3,4,5 (the ends 0 and 5 are included).
- The character 'L' is allowed for the day of the month and day of the week. This character has a different meaning for the two fields. On the day of the month indicates the last day of the month (January 31, February 28 ...). When used in the days of the week, it indicates the last day of the month xx such as "6L" means "the last Friday of the month."
- The character 'W' is allowed for the day of the week. It is used to specify the working day(Monday, Friday) closer to the specified day. For example, if you specify "15W" as a day of the month means "the working day closest to 15th of the month." So if 15th is Saturday, it will take Friday the 14th. If the 15th is Sunday, then it will take Monday 16th. If the 15th is Tuesday, it will take Tuesday 15th. The characters' L' and 'W' may be combined in the days of the month and indicate the last working day of the month.
- The character '#' is allowed for the day of the week. This character is used to specify the "#th day of the month." For example, the value "6#3" indicates the 3rd Friday of the month.
The characters' L' and 'W' may be combined in the days of the month and indicate the last working day of the month.
Progress Status and Log
If a task is running you can check the Progress column, the progression bar will be updated constantly showing the percentage of progress and an animated icon indicates that the process is running. This icon is clickable and allows you to stop the execution. When the task is not running, the same icon appears motionless and by clicking on it you can start the execution. Each task has also a related log file that can be inspected selecting a task item. This log details how the activity proceeds.
Not all tasks are able to provide the stage of processing. In such cases, the progress bar does not indicate the progression rate and stays undetermined
You may ask LogicalDOC to send an activity report to a selection of users.
The scheduled tasks are not the only background operations scheduled in your installation. To see all the scheduled background operations, just open the Jobs tab.
Here you see all the jobs organized in different groups. You may note other kind of jobs like those generated by the calendar or by the time-driven automation triggers.
At any time you can unschedule a job by right-clicking on it and choosing Unschedule