Schedules
You can create and run predefined tasks at the specified time intervals by scheduling your tasks in Zoho Expense. Once you’ve created your tasks using a simple deluge script, you can schedule these tasks to be executed at a particular time or on a recurring basis. Let’s look at a scenario to understand this better.
Scenario: Peter uses a third party application for maintaining employee database internally. He would like to sync all data in Zoho Expense with the other application periodically. To do so, he creates a schedule to sync the data at 12 AM every day.
In a nutshell, Schedules in Zoho Expense lets you schedule frequent tasks and allows you to configure various recurrence patterns like selecting the date, time, and frequency, based on which your tasks are executed.
Create Schedule
To create a schedule:
- Go to Settings on the left sidebar.
(OR)
Click Settings in the top right corner of the page. - Click Schedules under Automation.
- Click + New Schedule in the top right corner.

- Enter a Name for your schedule.
- Set the Frequency and recurrence pattern for the schedule to be executed. This can be daily, weekly, monthly, or yearly.
- Select how frequently the task should be executed from the Frequency dropdown.
Frequency Description Hourly The task will be executed every hour (or based on your recurrence pattern). Click Exclude weekends to exclude weekends from the schedule. Daily The task will be executed every day (or based on your recurrence pattern). Weekly The task will be executed once a week. Select the day of the week on which the task should be executed. Monthly Task will be executed once a month. This can be a specific date or a day in a month. For example, you can choose to execute it on the 5th of every month or the second Saturday of every month. Yearly Task will be executed once a year. You can select the month and specify the date of execution or specify the day. For example, the task can be executed on the first Sunday in January or on January 5. - Set the Start Date & Time.
- Choose an expiry date from the Expires After field. It can expire after some executions or on a set date or not expire at all.
- Drag and drop options to create a Deluge function that will help to create your function in the Deluge script editor.
- Click Save or Save and Execute to run it.

Warning: The start date of a schedule cannot be more than one year from the creation date.
Note: You can create a maximum of 10 schedules.
Edit Schedule
You can make changes to an already configured schedule. To edit:
- Go to Settings on the left sidebar.
(OR)
Click Settings in the top right corner of the page. - Click Schedules under Automation.
- Hover over the schedule you want to edit, click the Dropdown icon, and select Edit.

- Make the necessary changes and click Save.
Mark a Schedule as Inactive
If you want to disable the schedule temporarily you can mark it as inactive.
To mark as inactive:
- Go to Settings on the left sidebar.
(OR)
Click Settings in the top right corner of the page. - Click Schedules under Automation.
- Hover over the schedule you want to mark as inactive, click the Dropdown icon, and select Mark as Inactive.

Mark a Schedule as Active
If you want to enable the schedule that was marked as inactive, you can mark it as active. Here’s how:
- Go to Settings on the left sidebar.
(OR)
Click Settings in the top right corner of the page. - Click Schedules under Automation.
- Hover over the inactive schedule you want to mark as active, click the Dropdown icon, and select Mark as Active.
Delete Schedule
You can delete the schedules you’ve created. However, if you want to disable it temporarily you can mark the schedule as inactive.
To delete a schedule:
- Go to Settings on the left sidebar.
(OR)
Click Settings in the top right corner of the page. - Click Schedules under Automation.
- Hover over the schedule you want to delete and click the More icon next to the schedule.
- Click Delete.

- Click Yes in the pop-up to confirm your action.
View Schedule Logs
You can view logs of the tasks that were triggered from the schedules set in your organization. To do this:
- Go to Settings on the left sidebar.
(OR)
Click Settings in the top right corner of the page. - Click Schedules under Automation.
- Click View Schedule Logs on the top right side of the page and view the list of all the schedules that were executed, time of the execution, and their log IDs.

Note: Zoho Expense displays only the workflow logs of the last three months.