Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 8th, 2000, 04:38 PM
JakeyG JakeyG is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 22 JakeyG User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I need a Perl script to run every Tuesday at exactly midday. Rather than manually running it every time, I've heard that 'crontab' can be used, and have seen imformation about it here and on other web resources. However, before I attempt to use something I know nothing about, a few questions:

1. I have a virtual server with a hosting company (WebFusion.co.uk) which give me ssh telnet access - will this provide me with a way of getting the line into the crontab file?

2. What exactly do I do to initial the schedule? I see I write a line and save it as something like cron.txt, but then what? Do I Telnet in?

3. How do I stop the schedule, for example if I get it wrong? Do I simply delete the line from cron.txt and then add it to the crontab again?

Thanks for your help in advance!

------------------

Reply With Quote
  #2  
Old November 8th, 2000, 09:30 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
1) Ask them
2) It will be initialize automatically if the syntax is correct and of course, you need to have permission from your host. The best bet is to "ask them"
3) Just uncomment the line with #.

The syntax and path of your configuration file is OS dependent. Even NetBSD, OpenBSD and FreeBSD all have different syntax and different location.

Just check with your host.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > How do you use and STOP Crontab?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway