Schedule a job once every day on work days in jenkins

37,151

Solution 1

Yes, this will execute the task as 15:00 each Monday to Friday. and the actual record should looks like:

0 15 * * 1-5 /path/to/command

Solution 2

This command is correct.

If you want to test out different cron schedule expressions, have a look at: https://crontab.guru/

You can enter your cron schedule expression and the website will give you a human readable version of the expression.

Share:
37,151

Related videos on Youtube

Poonam
Author by

Poonam

Updated on September 18, 2022

Comments

  • Poonam
    Poonam almost 2 years

    I am new to Jenkins. I need to schedule the job in Jenkins to run at 3 PM every working day (MON, TUE, WED, THU, FRI).

    Is the below format correct?

    00 15 * * 1-5
    

    Please advice.