LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2008, 08:31 PM   #1
ameyjah
LQ Newbie
 
Registered: Apr 2008
Posts: 13

Rep: Reputation: 0
Question I need application scheduling program


I have broadband connection at home. It has got free downloading hours from 2 am to 8 am, so I need some scheduling software in hardy Gnome to do following things in order.


2.15 Am - Wake up from sleep/hibernate
(It will start the internet connection at boot so no problem)
2.16 Am - Start Bit torrent/any application
7.45 Am - Shutdown the PC

Do you know any such software for hardy Gnome.
 
Old 05-03-2008, 09:18 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you can do the bit torrent from command line then setting up a cron schedule would do the trick.

Brian
 
Old 05-03-2008, 09:46 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't think that the first part is possible. A computer doesn't start itself if it isn't running. You will need to check your computers bios and documentation to see if that is the case. You will probably need to keep the computer running.

You could launch your bit torrent client by putting a link in the Autostart directory. For a graphical client, it may have an option to start it when you start your session in kde or gnome.

You might want to see if it responds to the SIGSTOP and SIGCONT signals. That would allow you to start and stop the program from a scheduled cron job. Sending SIGQUIT will quit the program.

You can add a cron job entry to run "/sbin/shutdown -h now" at the time you want the computer to shutdown.
 
Old 05-03-2008, 09:49 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Depends on the hardware but many of the newer motherboards have a RTC wake up timer built in to the BIOS. As already posted using will take care running your download and shutting down the computer. I could not find a lot of information on using ACPI to set the time.

http://www.mythtv.org/wiki/index.php/ACPI_Wakeup
 
Old 05-04-2008, 01:37 AM   #5
ameyjah
LQ Newbie
 
Registered: Apr 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the replies. I know that using at we can configure bit torrent to start or stop. But main problem is about Wake up from Hibernate.
In Xp, I used to do that using Auto Power on and shutdown program and even xp built in scheduler has same facility.

UPDATE:
I got one simple program to launch program at given time
http://gnome-schedule.sourceforge.net/
But do you know any command to wake up from sleep

Even i found command for hibernating in etc/gdm/gdm.conf
sudo pmi action hibernate

So if you are expert please find any command to wake up

Last edited by ameyjah; 05-04-2008 at 02:14 AM.
 
  


Reply

Tags
application, schedule



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
Where are the program files for an application? Pingu's Tuxedo Linux - Newbie 3 02-18-2007 11:53 PM
Program for scheduling my time (Like Microsoft Outlook) for Gnome itz2000 Linux - Software 2 11-10-2005 05:42 PM
at (the task scheduling program) won't work using regular user BL/|CK S3RP3NT Linux - Software 3 03-20-2005 03:32 AM
how to a start another application from my c++ program? gajaykrishnan Programming 4 07-25-2004 07:55 AM
Call Other Application by one Program kiennd Programming 4 08-02-2003 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration