LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-01-2003, 11:40 PM   #1
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
crontab in slackware


Hmm.. I realised that crontab is a bit different in Slackware. I say this because when I do crontab -e; it has entry inside saying hourly, daily, monthly etc.

So how do I make use of this?

Actually I want to do a few ping every 5 minutes and save the results in a log file. Yeah I know this is going to be huge. But I have a whole hdd for it (/var). So at least it won't crash my root.
 
Old 08-02-2003, 01:06 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
I beleive that if you put this into your /var/spool cron/crontabs it will work.

* * * * * /name/of/command
 
Old 08-02-2003, 01:37 PM   #3
allo
Member
 
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15
Hello,

*/5 * * * * /name/of/command like a normal crontab command.

entry for hourly, daily, monthly etc in root crontab with "crontab -e" are entries like any others crontab command and you can append your own crontab commands at the end of the file without concern.
 
  


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
crontab Xris718 Linux - General 5 08-15-2005 02:03 PM
crontab -e hoover93 Linux - Newbie 2 08-06-2004 05:05 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 01:35 PM
crontab help usman Linux - General 7 08-06-2003 04:37 AM
Crontab Help w0rmh0l3 Linux - General 11 12-11-2001 06:06 PM


All times are GMT -5. The time now is 08:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration