Scheduler

Updated 6 months ago by Devinder Singh

Byteline provides an easy-to-use Scheduler node that helps you to schedule tasks to run at regular intervals. Using a Scheduler node in the flow, you can select the frequency at which you want to run your scheduler node. You can run the node on a daily, weekly, hourly, or monthly basis as per your requirements.   

In this step-by-step guide, you’ll understand how to configure the Scheduler node for running the flow at regular intervals. 

Before we move ahead, it’s important to understand why we need to configure the scheduler node in the flow. 

Why is a Scheduler Node?

The scheduler is an important flow trigger to run the flows for performing various tasks at specific time intervals. After using the Scheduler as a trigger, you don’t have to manually execute the same task, again and again. 

Just configure the scheduler node once in your task flow and then it will automatically execute the action at the pre-scheduled time.

So, let’s get started with its configuration. 

Configuration 

Follow the steps outlined below to configure the scheduler node to run the flow at specific time intervals. 

Step 1: Select the Scheduler node from the Select Node window. 

Step 2: Click on the Edit button to launch the Scheduler node configuration window. 

The Scheduler node configuration allows you to configure the scheduler node based on any of the below-listed intervals. 

  • Weekly basis
  • Daily basis
  • Monthly basis 
  • Hourly basis 

If you set the interval to an hourly basis, then the scheduler runs the flow on round hours. However, if you set the intervals according to a daily, monthly, or weekly basis, then the scheduler runs the flow based on the specific day, month, or week. 

So, let’s configure the above-listed scheduler configurations here. 

Weekly Basis

To run the flow on a specific day of the week, you will need to configure your Scheduler node to run the flow on a weekly basis. 

It will allow the Scheduler to run the flow on particular days of the week as specified.

Step 1: Select the Week from the dropdown. 

Step 2: Set whether the flow should run every week or every nth week. For example, you can configure the node to run after every 2 weeks. 

Step 3: Select the days on which you want to run the flow. You can pick multiple days.

Step 4: Select the Timezone for which you want to run the scheduler. 

  • Local: It is the user's local timezone. 
  • UTC: It is the GMT time zone. 

Step 5: Set the time at which you want to run the flow. 

Step 6: Click on the Save button to save the configuration. 

Thus, you’ve configured the scheduler to run the flow on a weekly basis. After this configuration, you don’t have to set the time again after a week, Scheduler will automatically initiate every week at the specified time. 

Daily Basis 

You can configure your scheduler node to run the flow on a daily basis. 

Step 1: Select the day from the dropdown. 

Step 2: Select the Timezone for which you want to run the scheduler. 

  • Local: It is the user's local timezone. 
  • UTC: It is the GMT time zone. 

Step 3: Set the time at which you want to run the flow. You can pick multiple times in a day by using "Add more" link.

Step 4: Click on the Save button to save the configuration. 

Thus, you’ve configured the scheduler to run the flow on a daily basis. 

Monthly Basis 

You can configure your Scheduler node to run the flow on a specific day of the month. 

Step 1: Select the month from the dropdown. 

Step 2: Click on the drop-down and select the day of the month on which you want to run the flow.  For example, you can configure the node to run the flow on the 5th day of every month. 

Step 3: Select the Timezone for which you want to run the scheduler. 

  • Local: It is the user's local timezone. 
  • UTC: It is the GMT time zone. 

Step 4: Set the time at which you want to run the scheduler.  

Step 5: Click on the Save button to save the configuration. 

Thus, you’ve configured the scheduler to run the flow on a monthly basis. 

Hourly Basis

You can configure the Scheduler node to run the flow on an hourly basis. 

Step 1: Select the hourly from the dropdown. 

Step 2: Click on the drop-down to select the hours at which you want to run the scheduler node. For example, you can configure the node to run the flow after every 1 hour. 

Step 3: Click on the Save button to save the configuration. 

Data  (Optional)

To run the flow once for multiple input values, you can connect Google Spreadsheet with the scheduler node to fetch the specific data from the sheet. That will result in one flow run for each row in the Spreadsheet.

Here are the steps that you need to perform to connect any Spreadsheet with a Scheduler trigger node. 

Step 1: Click on the Expand button.

Step 2: Click on the SignIn to Google Sheets button to integrate your Google sheet with the Byteline. 

Step 3: Click on the Continue button to permit Byteline access to your Google account. 

You’ll view a Success message on your console as shown below: 

Step 4: Enter the Spreadsheet Id (in the spreadsheet ID field) for which you want to integrate the scheduler to run the flow at a selected frequency (weekly/daily/monthly/hourly)   

Step 5: Click on the Save button to save the scheduler configuration. 

Thus, your Scheduler node has been configured successfully. Feel free to connect us for any doubt. 


How did we do?