Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 332461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:52:08+00:00 2026-05-12T09:52:08+00:00

I have an already setted up cron job. Now i have a file whose

  • 0

I have an already setted up cron job. Now i have a file whose cron i have to setup such that my file should run at 9:00 am,11:00am,1:00pm,5:00pm and 7:00pm

Idont have much idea about cron So can anyone please help me in setting up this cron for my file at the aboove given timings !!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:52:09+00:00Added an answer on May 12, 2026 at 9:52 am

    The format for the CRON Jobs is:

    minute hour dom month dow user cmd
    

    minute This controls what minute of the hour the command will run on,
    and is between ‘0’ and ’59’


    hour This controls what hour the command will run on, and is specified in
    the 24 hour clock, values must be between 0 and 23 (0 is midnight)


    dom This is the Day of Month, that you want the command run on, e.g. to
    run a command on the 19th of each month, the dom would be 19.


    month This is the month a specified command will run on, it may be specified
    numerically (0-12), or as the name of the month (e.g. May)


    dow This is the Day of Week that you want a command to be run on, it can
    also be numeric (0-7) or as the name of the day (e.g. sun).


    user This is the user who runs the command.


    cmd This is the command that you want run. This field may contain
    multiple words or spaces.


    If you don’t wish to specify a value for a field, just place a * in the
    field.


    Here is an example of how a crontab is setup.

    01 * * * * root echo "This command is run at one min past every hour"
    17 8 * * * root echo "This command is run daily at 8:17 am"
    17 20 * * * root echo "This command is run daily at 8:17 pm"
    00 4 * * 0 root echo "This command is run at 4 am every Sunday"
    * 4 * * Sun root echo "So is this"
    42 4 1 * * root echo "This command is run 4:42 am every 1st of the month"
    01 * 19 07 * root echo "This command is run hourly on the 19th of July"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know I have already answered a similar question ( Running Batch File in
I have already a MVC-webapplication, I wounder should I create a new WCF Service
I have already read a lot about C++ exceptions and what i see, that
I have already made a regex which should work, but it doesn't work. echo
I have already learned shell-scripting in Linux environment. However, now I am unable to
I have already posted something similar here but I would like to ask the
I have already tried PreRenderComplete and unload is too late
I have already googled for this I have a Table with following structure in
The basics have already been answered here . But is there a pre-built PHP
I have a repository which I have already cloned from Subversion. I've been doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.