Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Best way to implement startup of App between certain hours..

 
   Macintosh computer (Home) -> System RSS
Next:  Why Does Safari Ask for Keychain Password?  
Author Message
shofu_au

External


Since: Jun 17, 2006
Posts: 2



(Msg. 1) Posted: Sun Dec 31, 2006 6:50 pm
Post subject: Best way to implement startup of App between certain hours using MAC OSX
Archived from groups: comp>sys>mac>system (more info?)

Hi Group,

My ISP has changed it rules and now does not could downloads between
midnight and midday in your monthly usage. So I would like to use a
Bitorrent program between these hours. I am currently using Azureus

On my Powerbook laptop I have the Energy Saver to boot my laptop at
midnight and shutdown at midday. In my Account I have set the Login
Items to automatically start Azureus.

This all works fine for the middle of the night when I am sleeping.

However if I turn my laptop on during the day Azureus still starts and
it can be really slow to stop, due to its long startup process.

Is there anyway to limit the actually starting of Azureus (and other
programs) via Mac OSX between the hours of midnight and midday?

Any suggestions / examples on the best way to acheive this? Cron?

Thanks

Mark.

 >> Stay informed about: Best way to implement startup of App between certain hours.. 
Back to top
Login to vote
Dave Balderstone

External


Since: Mar 21, 2006
Posts: 2704



(Msg. 2) Posted: Mon Jan 01, 2007 11:00 am
Post subject: Re: Best way to implement startup of App between certain hours using MAC OSX [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1167619832.107353.69260.DeleteThis@42g2000cwt.googlegroups.com>,
<shofu_au.DeleteThis@yahoo.com.au> wrote:

> Is there anyway to limit the actually starting of Azureus (and other
> programs) via Mac OSX between the hours of midnight and midday?

Use iCal. Set a recurring event, under "alarm" select "Open file" and
tell it to open Azureus.

 >> Stay informed about: Best way to implement startup of App between certain hours.. 
Back to top
Login to vote
David Empson

External


Since: Jul 18, 2004
Posts: 964



(Msg. 3) Posted: Mon Jan 01, 2007 5:43 pm
Post subject: Re: Best way to implement startup of App between certain hours using MAC OSX [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

<shofu_au RemoveThis @yahoo.com.au> wrote:

> My ISP has changed it rules and now does not could downloads between
> midnight and midday in your monthly usage. So I would like to use a
> Bitorrent program between these hours. I am currently using Azureus
>
> On my Powerbook laptop I have the Energy Saver to boot my laptop at
> midnight and shutdown at midday. In my Account I have set the Login
> Items to automatically start Azureus.
>
> This all works fine for the middle of the night when I am sleeping.
>
> However if I turn my laptop on during the day Azureus still starts and
> it can be really slow to stop, due to its long startup process.
>
> Is there anyway to limit the actually starting of Azureus (and other
> programs) via Mac OSX between the hours of midnight and midday?

A reasonably simple AppleScript application can be created to
conditionally launch an application during certain times of day.

Launch Script Editor and copy and paste the following into the window
for a new script:


set theHour to hours of (current date)
if theHour >= 0 and theHour < 6 then
tell application "Azureus" to activate
end if


If you run this script between midnight and 6 a.m., it will launch
Azureus. Any other time of the day it will do nothing.

Click on the "Run" button to test it (adjust the time comparison numbers
to confirm that it actually launches Azureus).

Once you are satisfied that it does what you want, use Save As, and
select the following options:

File Format: application
Options: Make sure "Run Only", "Startup Screen" and "Stay Open" are not
selected.

Save it in a convenient location, such as in your applications folder,
or somewhere in your home folder. Call it something like "Azureus
Nightly Launch".

You can now put that application in your login items, so if you start up
the computer after midnight and before 6 a.m., it will launch Azureus,
but if you start up at other times of day it won't.

If you want to amend the script later, you need to open "Azureus Nightly
Launch.app" from inside Script Editor. You can do this by dragging and
dropping the application on to Script Editor.app, or using the Open
command in the File menu after launching Script Editor.

--
David Empson
dempson RemoveThis @actrix.gen.nz
 >> Stay informed about: Best way to implement startup of App between certain hours.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Only 22 hours to go. - I can't wait. It's like Christmas all over again.

Genius Hours? - I am thinking of trying to get a Genius job while going to school but I was wondering what the hours are they work. I heard that there is a lot of evening and weekend work but are mornings required/are the schedules flexible at all?

iDVD quits after several hours - iDVD quits unexpectedly during encoding, always after several hours. I am so frustrated. I wonder if anyone has any ideas. I have upgraded my G4 specifically to run iDVD, and now iDVD quits unexpectedly after hours of encoding but before actual burning....

G5 do not wake-up after sleeping for more than 4 to 6 hours - G5 (second generation 2mhz) do not wake-up after sleeping for more than 4 to 6 hours (for 2, 3 hours it is OK). Otherwise everything work correctly. Is it an hardware problem ?

9 hours to download 10.5.1 update! - My years-long battle with my local phone company to fix their noisy dialup lines yielded no action on their part. One of the drawbacks of living in a rural location. Mark-
   Macintosh computer (Home) -> System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]