»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 11-25-2003, 09:08 AM   #1 (permalink)
Registered User
 
tarpat1's Avatar
 
Join Date: Oct 2001
Location: Blackwood, NJ
Posts: 602
tarpat1 is on a distinguished road
Send a message via AIM to tarpat1 Send a message via Yahoo to tarpat1
Valid cron entry

I am attempting to use cron to automatically enable/disable a remote printer that is causing problems at work. Is this a valid entry to do this and if so does anyone have any links for a good tutorial for cron so that I can actually put this to use? Thanks in advance.


00 19 * * 1-6 /disable t1
00 07 * * 1-6 /enable t1

tarpat1 is offline   Reply With Quote
Old 11-25-2003, 01:02 PM   #2 (permalink)
Registered User
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,403
pbharris is on a distinguished road
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
hello,
i think you want
0 19 * * 1,2,3,4,5,6 cd /path/to/command;command

here is a small tutorial
cron pet
__________________
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
play mtrek! telnet://mtrek.com:23
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old 11-26-2003, 09:41 AM   #3 (permalink)
Registered User
 
tarpat1's Avatar
 
Join Date: Oct 2001
Location: Blackwood, NJ
Posts: 602
tarpat1 is on a distinguished road
Send a message via AIM to tarpat1 Send a message via Yahoo to tarpat1
Cool, thanks. Thats a great tutorial!
tarpat1 is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 03:17 AM.