Guides

Create Scheduled Tasks

In this page we will learn how to create scheduled tasks to import new data into your app.

To access this area, expand the Data menu item and click in Scheduled Tasks:

Menu caf7086058

To start creating a new task, from the list of scheduled tasks, click in the New Task button:

New task button ff93b6b88c

In this page you will need to provide a name for this task:

Name 73580d22c5

You will also have to provide the frequency at which it should run. You can choose between Hourly and Daily in the following field:

Frequency c552d78c76

If you choose hourly, you will have to provide the minute of each hour that this task should run:

Frequency hourly e0669fbb07

If you choose daily, you will have to provide the hour and minute of each day that this task should run:

Frequency daily 0034f85aa3

Then you will need to select the source of your data. You can choose between Amazon's S3, Azure Blob and any FTP or SFTP server:

Storage source cb3049c9d2

Amazon Web Services S3

To use a AWS S3 bucket select Amazon Web Services S3 from the Storage selector:

Source s3 a229c02af5

Then you will need to provide the bucket name:

S3 bucket b4f9069874

You will also have to provide the AWS Key:

S3 key 2b207d79f5

And the AWS Secret:

S3 secret aecb7b62d1

You will also have to provide the region where your S3 bucket is located:

S3 region 9d71413207

And finally you need to provide the path to the file:

S3 path cbb94ff55b

Microsoft Azure Blob Storage

To use a Microsoft Azure Blob Storage container select Microsoft Azure Blob from the Storage selector:

Source azure 02800ae5d2

Then you will need to provide the account name:

Azure account 5719ad5fc2

After that you will need to provide the container name:

Azure container b26e8c7c1f

You will also have to provide the Azure Blob Storage access key:

Azure key abea1c9e30

And finally you need to provide the path to the file:

Azure path 719f2eda6a

FTP Server

If you would like to use a FTP server, please select FTP (File Transfer Protocol) from the Storage selector:

Source ftp 98750dffca

For an FTP server you must provide the host name and port number:

Ftp host port 15c281704f

You must also provide the username:

Ftp username 0b87adcc09

And the password:

Ftp password 7020a385c0

If you server supports TLS (recommended), please check the following box:

Ftp tls 8aabeefe72

And if it uses a self-signed certificate, please check the following box:

Ftp self signed certificate 04bbb6b38a

And finally you need to provide the path to the file:

Ftp path f00a8c43fd

SFTP Server

If you would like to use a SFTP server, please select SFTP (SSH File Transfer Protocol) from the Storage selector:

Source sftp 3906589b73

For this type of storage, you have two authentication options. You can choose between the Using a Password or Using a Private Key options from Authentication Type selector:

Sftp auth type d250b5a989

You must provide the host name and port number:

Sftp host port 2eebe0c473

And you must also provide the username:

Sftp username 983c055cfd

If you choose the option Using a Password, you must provide the password:

Sftp password 0df05e67b7

If you've selected Using a Private Key instead, please provide the private key:

Sftp private key b9d78630d7

And optionally, a passphrase (if applicable):

Sftp passphrase ba6407cb8f

And finally you need to provide the path to the file:

Sftp path 604d5bac9a

When you are done configuring the source of your data, you should select which type of import job this scheduled task should perform:

Job type f040f0a86f

To learn more about import jobs, please read our guides located here.

Once you've provided all the data required, you can quickly test if everything is correct by hitting the Test Task button before actually creating the task:

Test button a8d2271a69

If everything is OK, you will see something like this:

Test ok 06bd8a37e0

If there's something wrong, you will see an error like the one below:

Test error 9cb767c05c

Once you ready to create your scheduled task, click in the Create Task button to save it:

Create button 48270c37b3

Keep reading our guides and learn how to edit a task.