Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Misc
Reload this Page a way to set a list of command to run one after the other?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Misc Any questions or Linux discussion that does not fit in any of the other technical areas.

Reply
 
Thread Tools Display Modes
Old 02-21-2005   #1 (permalink)
Sygnus X1
Just Joined!
 
Join Date: Dec 2004
Posts: 50
a way to set a list of command to run one after the other?

is there any way to tell linux to run some commands by itself (like overnight while i'm asleep) in a certain order?
Sygnus X1 is offline   Reply With Quote
Old 02-21-2005   #2 (permalink)
Sygnus X1
Just Joined!
 
Join Date: Dec 2004
Posts: 50
got it: i found a way to do it thru webmin!
i love webmin
Sygnus X1 is offline   Reply With Quote
Old 02-21-2005   #3 (permalink)
kkubasik
Linux Guru
 
kkubasik's Avatar
 
Join Date: Mar 2004
Location: Lat: 39:03:51N Lon: 77:14:37W
Posts: 2,400
Send a message via AIM to kkubasik
yes, cron is a program that does this, using it can be a little bit complicated at first, but you can set things to run daily or every hour minute, 15 minutes, whatever you like. The command man crontab should give you a basic idea of how it works.
__________________
Avoid the Gates of Hell. Use Linux
A Penny for your Thoughts

Formerly Known as qub333
kkubasik is offline   Reply With Quote
Old 02-21-2005   #4 (permalink)
valan
Linux Engineer
 
Join Date: Nov 2004
Posts: 785
If you only need it to run once, at would be the tool. If you need it to run every so often, put it in crontab, or maybe you could put a script in /etc/cron.hourly, /etc/cron.daily, etc if you got them set up.
valan is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 08:32 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0