LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2009, 01:13 PM   #1
rakeshgm
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
scheduling


iam using fedora 9. very new to linux. but i'am starting to like it. any way i have a question. i downloaded deluge. i want to know how to start auto start the programs like deluge. maybe some packages. please guide me with this issue. iam looking forward. thanks in advance
 
Old 03-27-2009, 02:29 PM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Could you be more specific, how do you want to start the apps?

If you want to run them at certain time then you need to check out the 'at' command.
If you want to run the command/program several times at certain time you could set up a 'cronjob' for it.

If you want to autostart the application when you login you can modify your .xinitrc file IF you are *not* using login managers such as [GKX]DM.
In those cases I'd check out your desktops autostart options. I don't know about those as I tend to keep my desktop pretty minimal.
 
Old 03-28-2009, 11:23 AM   #3
rakeshgm
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
the thing i wanted to do is to start the deluge bittorrent automatically at 2:10 am. cause i'll be sleeping. i want to keep fedora on from night itself and i won't switch off. this is what i want.
 
Old 03-29-2009, 09:05 AM   #4
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Ok, then I'd go with at command. Install at if its not within default fedora installation. Run the atd daemon. Then you can schedule commands with it like:
Code:
at -f ~/bin/test.sh 02:10
Be sure to read the man page on how it works. I haven't used at myself and I don't know if it accepts compiled programs for execution or just shell scripts as it seems to run them with /bin/sh but you can test that.

Here's a good arcicle about at and cron to get you started.
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration