?
Solved

Cron all day except weekends

Posted on 2006-07-18
4
Medium Priority
?
548 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

801 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