Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-01-2003, 10:40 PM   #1
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, 12:06 AM   #2
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, 12:37 PM   #3
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15

*/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.


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

All times are GMT -5. The time now is 06:48 AM.

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