How to schedule an hourly job in Rundeck?

We started experimenting with Rundeck and came across a situation where I wanted to schedule the job to run every hour.

This is a built-in feature in Rundeck to schedule jobs, ranging from seconds to even yearly. Here are the steps we followed for scheduling to run every hour. Let’s have a look at the rundeck Job to run every hour, automatically.

Hourly Job configuration steps using Rundeck Crontab

  • Go to the edit job option (Action – Edit this job)
  • Go to the Schedule tab
  • Select Schedule to run repeatedly to Yes
  • Now, select the Tab: Crontab
  • Enter the below cron schedule:
0 0 * ? * * *
  • For the hourly job schedule, in our example, the option now looks like this:
cron sxample for rundeck job schedule
Rundeck crontab example – hourly schedule
  • Now, save your Job and go back to the main page.
  • The first execution would be picked up within a few minutes.
  • The job listing page also shows the scheduled time for the subsequent execution.

Rundeck picked up the schedule and started running it every hour.

Rundeck hourly job scheduling

If you have more questions, please feel free to ask.

FAQ: How do I schedule a Rundeck job?

This guide provides you with the steps to schedule a Rundeck job for a specific interval. You may further customize this to run according to your requirements.

How to use the crontab feature in rundeck?

The steps given above can be used to configure Rundeck crontab, and you can format the crontab syntax with the given link.