How to Use Scheduled Tasks?

In the Webayt content management system, Scheduled Tasks allow specific maintenance and update operations to be performed automatically at selected times. This allows tasks such as updating content read counts, clearing outdated rate limit records, refreshing the site cache, and creating missing lists to be managed from a single platform.
Tasks can be scheduled to run automatically, or they can be manually started via the control panel when needed. Work results can be viewed in the Task History screen.
What are scheduled tasks used for?
This feature helps you create a regular work schedule for repetitive operational tasks. The task type is selected, the frequency of operation is determined, and the task is activated. The system then executes the relevant operation according to the schedule via timer controls.
Automated tasks help manage content and cache. However, it is necessary to periodically check past records to ensure tasks have been successfully completed.
How can I access the Scheduled Tasks page?
Webayt You can access the Scheduled Tasks page by opening the Operational Tasks section from the left menu in the admin panel.
Operational Processes → Scheduled Tasks
On this page, you can list existing tasks, add new tasks, edit, delete, and manually run tasks, and view their run history.
What information is displayed on the Task List screen?
The Task List tab displays tasks in a table format. This includes the task name, type, scheduling information, run times, status, and action options.
- Task Name: This is the descriptive name given to the task.
- Type and Timing: Indicates what the task does and how often it runs.
- Working Hours: Shows the last working hours and the scheduled next working hours.
- Status: Indicates whether the task is open or closed.
- Run Now: Used to manually start the task without waiting.
You can access Task History , Edit Task , and Delete Task from the three-dot menu on each task row. The list also supports searching, pagination, and changing the number of records displayed.
How to Add a New Scheduled Task?
To create a new task, go to the Add Task tab. On this screen, you determine the task's name, type, scheduling option, and status.
- In the admin panel, open the Operational Processes → Scheduled Tasks page.
- Click the Add Task tab.
- Enter a descriptive name in the Task Name field.
- Select the action to be performed from the Task Type field.
- In the scheduling area, select the appropriate option from "at specific intervals" or "every day".
- Depending on your choice, fill in either the Range (minutes) or Working Hours field.
- Set the status field to on or off.
- Save the task by clicking the Add button.
Each task type can only be added once. Instead of creating a second task of the same type, you can edit the scheduling settings of the existing task.
Task Adding Fields
Job Title
The Task Name is used to distinguish the task in the list and in past records. For example, you can choose clear names such as “Cache”, “Read Counts”, or “Missing Lists”. This field is mandatory.
Task Type
The Task Type determines the action to be performed automatically. It is selected when creating a task, and only one task of each type can exist. In the editing screen, the type of the current task is displayed as a non-modifiable field.
Situation
A task can run according to its scheduled time when it is active . A task when it is disabled is not active for newly scheduled runs. According to the panel's warning , deactivating a task does not stop the process currently running.
How is task scheduling determined?
There are two different usage options for scheduling: At specific intervals and Every day . A different time information field will appear on the screen depending on the method you choose.
At regular intervals
This option allows the task to be repeated at specific minute intervals. A value is entered in the Interval (minutes) field. According to the information on the panel, the interval must be a multiple of 15 minutes .
For example, the task of updating content read counts can be scheduled at 360-minute intervals. According to the on-screen alert, a task activated using this method can run during the initial timer check .
Every day
This option ensures the task runs at the time you specify each day. The time is selected from the Working Hours field. As indicated on the panel, the times are according to Istanbul time .
For example, cache refresh can be scheduled for 02:00, and creating missing lists for 01:30. According to the on-screen information, if the daily task's working hours have passed, the process can be compensated for during the first check.
When creating schedules, determine the task's execution frequency based on your website's needs. Ensure that task times are displayed correctly in the list and that there are past successful runs.
What types of tasks are available?
Webayt In version 1.9, the Scheduled Tasks section includes the following four types of tasks:
- Update Content View Counts: Updates the number of times content has been viewed by processing content view records.
- Clear Old Rate Limit Records: This clears expired rate limit records.
- Refresh Site Cache: Used to refresh the site's prepared page cache.
- Create Missing Lists: Creates missing list files; skips existing files instead of recreating them.
These tasks serve independent purposes. For example, the Create Missing Lists operation is not the same as the Create & Refresh Lists operation: the scheduled task focuses on completing missing files.
Update Content Readership Counts
This task ensures that read records for content pages are processed and the corresponding view counts are updated. Instead of updating read counts directly and uniformly with each page visit, accumulated records can be processed at specific intervals.
For example, the task list might include a task configured to run every 360 minutes . This frequency is not mandatory; a suitable interval can be determined according to need.
Clear old Rate Limit records.
Rate limits are used to restrict a large number of requests in a short period of time for specific operations. The "Clear Old Rate Limit Records" task ensures that expired records are systematically cleaned up.
For example, it can be scheduled for 01:00 daily. This way, you don't have to manually start the same process from the panel every day to clean up old records.
Refresh Site Cache
This task ensures that the website's page cache is refreshed according to a specified schedule. Cache management is important to prevent the use of outdated page output after content, module, or design changes.
You can schedule the task to run, or you can use the Run Now option. For detailed information on the basic workings of caching, page-based refresh, and source code editing, you can refer to the How to Use Caching guide.
Create Missing Person Lists
This task is used to prepare list files that are needed for the site but are not yet available. It is particularly helpful in completing missing lists in multilingual environments.
Existing lists are skipped without being recreated . Details in the task history show results such as the number of lists created, the number of lists skipped because they already existed, and the number of failed lists.
To learn how Listing Management works, including language-based lists and manual creation processes, please refer to the "How to Use Listing Management?" guide.
How to Run the Task Manually?
You can use the Run Now button when you want a task to run without waiting for its scheduled time. This is especially useful for checking configurations or performing a necessary refresh immediately.
- Find the task you want to run on the Task List screen.
- Click the Run Now button in the relevant row.
- Check the options in the confirmation window that opens.
- To start the process, click the Run Now button in the window.
- To see the result, review the Task History screen for that task.
A confirmation window will pop up during manual operation. This allows you to verify that you have selected the correct task before starting the process.
How to Use Detailed Performance Recording?
The Refresh Site Cache and Create Missing Lists tasks include an optional Detailed Performance Log option in their manual run window. This option is not available in the manual run windows for the other two task types.
When this option is enabled, more detailed performance information related to the execution can be logged. This includes information such as page times, translation API requests, and data sources.
These logs can be useful, especially when you want to review processes that take longer than expected, or translation and list creation processes. You don't always need to create detailed logs for routine processes.
Important: The detailed performance log selection is located in the Run Now window. Therefore, do not assume that the same details are retained in all automatic runs.
Where can I view my task history?
You can click Task History from the three-dot menu next to the relevant task. This screen lists previous runs of the task and activity logs related to the task.
What information is included in the job history?
The history list allows you to distinguish between automatic and manual starts. The following information is displayed on the screen:
- Status: Indicates whether the operation was successful or the type of record related to the task.
- Source: Specifies whether the process was started by a timer or by the user.
- User: Displays the relevant administrator information for user-initiated actions.
- Start and End: Indicates when the work begins and ends.
- Duration: Specifies the processing time of the operation.
- Details: Opens the section displaying additional information about the operation.
In addition to past successful projects, records of administrative actions such as adding tasks or changing settings can also be found. This allows tracking not only the project results but also specific actions taken on the task.
How to Review Task Details?
On the Task History screen, click the Details button for the relevant entry. The window that opens may display different information depending on the task type and the outcome.
For example, the "Create Missing Lists" task might yield the following results:
- Number of lists created
- Number of lists skipped because they exist
- Number of failed lists
These numbers allow you to determine whether a new list has been created, even if the task has been executed. For example, a list creation count of zero doesn't necessarily mean an error if all the lists already exist.
How to Organize a Task?
Click Edit Task from the three-dot menu in the task bar. In the window that opens, you can change the task name, scheduling information, and status. The Task Type is displayed as a fixed piece of information for the current task.
After completing the changes, save them using the Update button. Check the updated work plan in the task list.
Task Deletion Process
A task that is no longer needed can be removed using the "Delete Task" option in the three-dot menu on its row. Before deleting, evaluate what process the task performs and whether it is needed to run regularly.
Instead of deleting a task you don't want to run automatically temporarily, you can choose to set the Status field to Off. However, if the task is already running, deactivating it will not stop the ongoing work.
How to Monitor Timer Control?
At the bottom of the task list, you'll find information about the last cron check and a status message indicating whether a check was recently performed. It's also noted that all times are displayed according to Istanbul time.
This information provides a quick idea of whether the timer control mechanism has recently been activated. Also, review the Task History records to confirm that tasks were completed correctly.
If the timer check hasn't happened for a long time, it's helpful to check if automated tasks are running at the expected times and seek technical support if needed.
What should be considered when using scheduled tasks?
- Remember that each task type can only be added once.
- Use values that are multiples of 15 minutes in the timing at specific intervals.
- For daily tasks, select working hours according to Istanbul time.
- Regularly check the open or closed status of tasks.
- Before running the task manually, check the name and type of the task.
- Enable detailed performance logging for caching and missing list tasks when needed.
- Monitor task results and potential run failures through Task History.
- If you want to preserve existing lists, consider the purpose of the Create Missing Lists task.
Summary
Scheduled Tasks , Webayt is an administration area in the content management system used to automatically or manually run specific maintenance and update operations. Tasks can be scheduled at specific minute intervals or at a selected time each day.
Updating content read counts, clearing old rate limit records, refreshing the site cache, and creating missing lists are supported task types. Task History allows you to track work status, duration, resources, and details.
How can we help you?
You can fill out the form below to contact our Webayt support team. Your request will be reviewed by our relevant team and you will be contacted as soon as possible.


