LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2005, 11:45 PM   #1
onionkn1ght
LQ Newbie
 
Registered: Sep 2004
Posts: 20

Rep: Reputation: 0
Scheduled tasks?


I'm running Slackware 10.0 and I want to make it so that every day (or 24 hours) a script is run. Is there any program that can do this?
 
Old 01-10-2005, 11:46 PM   #2
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
try "crond"
 
Old 01-11-2005, 12:07 AM   #3
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Here's some useful information.

http://www.linuxquestions.org/questi...hreadid=275960
 
Old 01-11-2005, 10:20 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You need to place the script (or a link to it) in /etc/cron.daily.

Then have a look at /etc/crontab, and see what time the scripts in cron.daily are being executed. The first number on the line is Minutes, the second number is hours. If the numbers are not convienient (by default it is 4am I think), change them.

Next run ps -x, and see if crond is running. If it is, then your are set to go. Write your script, and place it in /etc/cron.daily, and it will automatically run at the set time each day. The output will be mailed to root.

I hope this helps
--Ian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron - doesn't seem to run scheduled tasks robintw Linux - General 11 11-25-2005 01:53 AM
scheduled tasks on a web server juanbobo Programming 3 05-16-2005 08:08 AM
Scheduled shutdown? Devils_Knight Linux - Software 14 02-02-2005 01:58 PM
when is next slack scheduled? larva828 Slackware 5 11-01-2004 07:36 PM
Scheduled tasks... beserier Linux - General 1 01-24-2003 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration