Solved

Cron all day except weekends

Posted on 2006-07-18
4
542 Views
Last Modified: 2006-11-18
Hi-
I need to run a cron job every minute between 11AM and 7PM Monday through Friday.

What would the correct format be?

Centos 4
Plesk

thanks
0
Comment
Question by:livegirllove
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 1

Expert Comment

by:antoxa
ID: 17128366
0-59 11-7 * * 1-5 /path/to/your/command

WBR
0
 
LVL 1

Accepted Solution

by:
antoxa earned 500 total points
ID: 17128373
sorry

0-59 11-19 * * 1-5 /path/to/your/command

WBR
0
 
LVL 1

Author Comment

by:livegirllove
ID: 17132400
thanks
just wondering why you used 0-59 instead of *?  isn't it the same thing?
0
 
LVL 1

Expert Comment

by:antoxa
ID: 17135806
yes, where is could be used * or 0-59 or in vixie-cron */1
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question