# Periodic Tasks

List of periodic tasks created in the system in the form of a table with the following fields:

* **Name** - the title of the periodic task.
* **OLT Name** - the title of the OLT on which the task should be executed.
* **Last run** - last date and time the task was run.
* **Activity** – task activity status. It can be Yes or No.
* **View** - a link to view detailed information about a specific task.

### Filter tasks

You can filter tasks in the Tasks list table by multiple parameters for convenient and quick access to task management:

* **OLT name** - search by OLT name string.
* **Search** - search periodic tasks by multiple parameters.
* **Activity** - activity of switch.
* **Last run before** - last switch run before the date.
* **Last run after** - last switch run after the date.

![Tasks list](https://4250558970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMviMfLPCHms6Yo2oirJF%2Fuploads%2FU4kdxjOHXkdmeIqhAaLb%2FScreenshot%202023-09-26%20at%2023.19.34.png?alt=media\&token=a62b12e3-c930-406a-8b04-ff266d816f66)

### Quick Actions Bar

You can view these Docs, by pressing Show Downloads to locate filtered tasks reports which are generated by the "Export to XLSX" option in the Tasks table.

## Periodic Task view

Clicking on the View button from the Tasks table displays detailed information about the recurring task.

![Periodic Task page](https://4250558970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMviMfLPCHms6Yo2oirJF%2Fuploads%2Fjf5I5xKm0hzCHTJBGSMQ%2FScreenshot%202023-09-28%20at%2021.12.39.png?alt=media\&token=61c214c6-a345-44b6-acd1-6917c8bca582)

### Quick Actions Bar

* **Back** – return to the list of periodic tasks.
* **Edit** - editing task parameters.
* **Deactivate** – task deactivation.

### Periodic Task information card

* **Description** - detailed description of the task.
* **The month of the year** - the number of the month of the year when the task should be performed.
* **Day of month** - the day of the month when the task is to be performed.
* **Day of week** - the day of the week when the task is to be performed.
* **Hour** - the hour when the task is to be performed.
* **Minute** - the minute the task is due.

## Periodic Task Editing

![Periodic Task editing form](https://4250558970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMviMfLPCHms6Yo2oirJF%2Fuploads%2Fxn1PSdW9ii05LqZ7FvsX%2FScreenshot%202023-09-28%20at%2021.12.53.png?alt=media\&token=7abc8a06-3986-40ee-8ac4-898ff5db910e)

You can set the following values on the editing form by clicking Edit in the Actions Bar:

* **Description** - detailed description of the task.
* **The month of the year** - the number of the month of the year when the task should be performed.
* **Day of month** - the day of the month when the task is to be performed.
* **Day of week** - the day of the week when the task is to be performed.
* **Hour** - the hour when the task is to be performed.
* **Minute** - the minute the task is due.

Click Save to save periodic task parameter changes.

## Available periodic tasks

The are several tasks available in the EasyPON system for maintaining and automating everyday routines from synchronizing data to performing backups of valuable system data.

### General system tasks

* **Userside synchronization user groups**
* **Block inactive users**
* **Cleanup old report files**
* **Cleanup old view account logs**
* **Userside synchronization clients**
* **Userside synchronization tariffs**

### OLT and ONU-related tasks

* **Update onu client macs** - update client Mac address.
* **Update onu ethernet ports** - update client Mac ethernet port info on ONUs.
* **Sync full info all onus** - updates ONU data
* **Save olt config** - saves OLT configuration data for every night
* **Update onu measurement** - updates registered ONU measurements
* **Check olt is alive** - updates OLT online status
* **Get unregistered onus on olt** - a periodic task for monitoring and updating the list of unregistered ONU
* **Update olt info** - updates OLT and port data

### Switch related tasks

* **Update port info in switch**
