Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 02-24-2007, 12:41 AM   #1
Registered: Sep 2005
Distribution: Mandriva 2007 & Ubuntu Fesity Fawn
Posts: 67

Rep: Reputation: 15

How do I schedule a single command (./ to be run hourly on Mandriva 2007 official? Help please.
Old 02-24-2007, 01:38 AM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
have a look at man crontab
Old 02-24-2007, 01:46 AM   #3
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
You'll want to learn how to modify /etc/crontab. In addition to the ever so popular 'man crontab', here are some links as reference:

Hope this helps.
Old 02-24-2007, 04:51 AM   #4
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
In Mandriva (and possibly other distributions), you can put a copy of the script in /etc/cron.hourly. In a terminal window (as root):

cp ./ /etc/cron.hourly
Old 02-24-2007, 10:01 PM   #5
Registered: Sep 2005
Distribution: Mandriva 2007 & Ubuntu Fesity Fawn
Posts: 67

Original Poster
Rep: Reputation: 15
Thank you very much for the help. Attempting to edit crontab (via crontab -e) didn't go so well, but apparently adding a script to the cron.hourly does work. It seems to run on the hour exactly (like *:01). =)



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
Scheduling Software Hal Linux - Software 5 12-13-2005 04:54 AM
Scheduling shutdowns avenolpey Debian 1 06-01-2005 11:05 PM
Scheduling problems? mst700 Linux - Newbie 3 07-23-2004 10:23 PM
Linux Scheduling Kumar Programming 3 06-14-2004 05:24 AM
scheduling again nautilus_1987 Linux - Software 2 07-04-2003 08:53 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:06 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