How to schedule jobs in Jenkins?

0 votes

Hi Team,

I am new to Jenkins. I want to schedule one Job in Jenkins. How can I do that?

Oct 22 in Jenkins by akhtar
• 32,960 points
20 views

1 answer to this question.

0 votes

Hi@akhtar,

If you want to schedule your Jenkins Job periodically, then you need to Configure your job in the "Build Periodically" checkbox, and in the Schedule, text field add your requirement. You can see the syntax below.

Jenkins used corn expression, and the different fields are:

  1. MINUTES Minutes in one hour (0-59)

  2. HOURS Hours in one day (0-23)

  3. DAY MONTH Day in a month (1-31)

  4. MONTH Month in a year (1-12)

  5. DAY WEEK Day of the week (0-7) where 0 and 7 are Sunday.

If you want to schedule your build every 5 minutes, this will do the job: */5 * * * *

answered Oct 22 by MD
• 77,580 points

Related Questions In Jenkins

0 votes
1 answer

What are parameterized jobs in jenkins and how to configure it?

Hey @Hannah, Parameterized jobs/builds are the ones ...READ MORE

answered Dec 16, 2018 in Jenkins by Kiyara
2,930 views
0 votes
2 answers
+3 votes
2 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

If you are talking about executing another ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 58,210 points
32,965 views
+1 vote
4 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
804 views
+2 votes
1 answer
0 votes
1 answer

How to install jenkins in Redhat/CentOS?

Hi@akhtar, To install Jenkins in centOS/Redhat, you can ...READ MORE

answered Feb 6 in Jenkins by MD
• 77,580 points
218 views
0 votes
1 answer

How to merge two branch in GitHub using jenkins?

Hi@akhtar, To implement this task you can follow ...READ MORE

answered May 7 in Jenkins by MD
• 77,580 points
1,327 views