Custom Scheduled Jobs

You can use this option to create your own scheduled jobs to run code at regular intervals. To create a custom scheduled job, follow these steps:

  1. Add a Name for your own reference.
  2. Select a User who the code will run as.
  3. Enter how often you want the job to run on Interval/Cron Expression.

    Select Show Examples for example time periods.
  4. Add Inline Script to tell your job what to do. You can enter the code on Script or choose existing code on File.
  5. Select Add to schedule your job or Run Now to execute the script now.

Example: Send Notification for Incomplete Tasks Once a Week

If you'd like to send a weekly email reminder to users to complete tasks assigned to them, you can create a custom scheduled job to send those emails by following these steps:

  1. Enter Send Notification for Incomplete Tasks for Name
  2. Select Admin for User.
  3. Enter 0 0 0 ? * FRI * for Interval/Cron Expression to run at midnight each Friday.
  4. Enter the following code for Inline Script.

    Action required

    Unauthenticated access to this resource is not allowed. Please login to Confluence first.

  5. Select Add
On this page