Cronjob for every business day (Mo-Fr) at 05:30

Hi, how can I schedule a job for every businessday at 05:30?
I tried 30 5 * * 1-5 but it didn’t work.
I would like to have it in the cronjob and not with the working days feature.
Thanks :slight_smile:

Okay, through trial and error I found it:
0 30 5 ? * 1-6
I don’t really get the question mark though.

The ? is where you’d put the day of the month (IE 31 if you wanted to run it on the 31st of every month).

I began using the following site to build cron expressions, and you slowly learn how to create them yourself if being done regularly:

Cron Expression Generator

1 Like

@jcb Thanks for the advice.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.