Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Scheduled Tasks are currently not yet fully ready for prime time. Check back in the next release for a more user-friendly and complete version.

Squirro's scheduler service can run commands in regular intervals. The scheduled tasks interface provide an interface to manage these tasks.

Usage

In the Server space select Scheduled Tasks. Using the plus button on the top right a new task can be scheduled.

Scheduling

The cron syntax is a space-separated list of:

  • minute
  • hour
  • day-of-month
  • month
  • day-of-week

The asterisk (*) can be used as a wildcard. For example the value 5 * * * * would run an action every hour at 5 minutes past the hour.

Action

Tasks are currently limited to HTTP requests. The details of that can be specified in the action parameters as a JSON dictionary:

{
    "url": "https://service.example.com/url",
    "method":"post"
}

This example triggers a regular POST action to the indicated URL.


  • No labels