Solved

Cron all day except weekends

Posted on 2006-07-18
4
527 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
  • 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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now