Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

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.

Excerpt

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.

Image Removed

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:

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

...

This page can now be found at Cluster Status on the Squirro Docs site.