Sheduler on a Mac?
#1
Scooby Regular
Thread Starter
Join Date: Sep 2003
Location: At the diesel pump...
Posts: 8,677
Likes: 0
Received 0 Likes
on
0 Posts
Sheduler on a Mac?
Excuse the newbie question.
Is there a way of scheduling iSync (tiger) to auto kick off to update itself and link in with a paired device?
Cheers
I will master this OS lark
Is there a way of scheduling iSync (tiger) to auto kick off to update itself and link in with a paired device?
Cheers
I will master this OS lark
#2
Scooby Regular
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes
on
0 Posts
#4
Scooby Regular
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes
on
0 Posts
Tron's younger brother
It's a unix time based scheduling service, name comes from the Greek word Chronos, meaning time.
essentially the cron service/daemon reads the crontab file, which contains information on what to run, when to run it and who to run it as (for example run it as the root user).
It's a unix time based scheduling service, name comes from the Greek word Chronos, meaning time.
essentially the cron service/daemon reads the crontab file, which contains information on what to run, when to run it and who to run it as (for example run it as the root user).
Trending Topics
#11
Scooby Regular
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes
on
0 Posts
Programmer wouldn't use cron. They'd spend 3 weeks writing a standalone application . An admin would spend 5 minutes wrapping it in a shell script and calling it from the crontab.
#12
Scooby Regular
Thread Starter
Join Date: Sep 2003
Location: At the diesel pump...
Posts: 8,677
Likes: 0
Received 0 Likes
on
0 Posts
Seriously, downloaded that gui created a job and ran it! Now I have to wait till 19:30 tomorrow and see if it runs by itself without the gui open. Although when I ran it just now. It opened a seperate window which didn't close down after it had finished, which is going to be annoying if it does that when the gui isn't open.
Ideally I don't want to see anything, I just want to hear the beep after the sync.
PS: Markus, have a virtual beer from me
#13
Scooby Regular
Thread Starter
Join Date: Sep 2003
Location: At the diesel pump...
Posts: 8,677
Likes: 0
Received 0 Likes
on
0 Posts
It works!!! Well in part.
It opens iSync and updates the phone, but leaves iSync open.
Any command I can put the in the job that will telliSync to close after its done it thing?
This is the current command
osascript -e 'tell application "iSync" to synchronize'
It opens iSync and updates the phone, but leaves iSync open.
Any command I can put the in the job that will telliSync to close after its done it thing?
This is the current command
osascript -e 'tell application "iSync" to synchronize'
#14
Scooby Regular
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes
on
0 Posts
what you could do is to create an applescript with the following in it:
Save it somewhere on the disk, maybe in your home folder
then change the line
osascript -e 'tell application "iSync" to synchronize'
to
osascript /path/to/file
I think you can use the browse button to select the script which will put the path in.
Code:
tell application "iSync" synchronize quit end tell
then change the line
osascript -e 'tell application "iSync" to synchronize'
to
osascript /path/to/file
I think you can use the browse button to select the script which will put the path in.
#15
Scooby Newbie
Join Date: Aug 2007
Location: Also known as Markus
Posts: 12
Likes: 0
Received 0 Likes
on
0 Posts
Alas I cannot currently edit my post.
Ignore the script code I put in there, here is a far better version.
This will launch iSync, start the sync and then check to see what the sync status is. If it's true, meaning a sync is in progress then it'll wait until it's false, meaning the sync is complete, before it then quits iSync.
I've tested the script manually and it works and I see no reason why it'd not work when run via cronnix
Ignore the script code I put in there, here is a far better version.
Code:
tell application "iSync" synchronize repeat while true if syncing then -- syncing in progress, we need to wait until completion before quitting else -- syncing complete, so we can now exit the loop and tell iSync to quit exit repeat end if end repeat quit end tell
I've tested the script manually and it works and I see no reason why it'd not work when run via cronnix
#20
Scooby Newbie
Join Date: Aug 2007
Location: Also known as Markus
Posts: 12
Likes: 0
Received 0 Likes
on
0 Posts
Run Disk Utility from the Installer DVD *before* doing the install, and repair permissions and repair the disk. Make sure if you have APE from Unsanity installed that you remove it. I'd also unplug any firewire/usb devices you don't need.
Most important thing, backup before you upgrade, just in case, and make sure whatever you use to backup has a 10.5 version, should you get a base 10.5 on and need to restore things from the backup. I know Retrospect 6.1 works under Leopard (it's currently doing a full backup on my disk as I type).
Most important thing, backup before you upgrade, just in case, and make sure whatever you use to backup has a 10.5 version, should you get a base 10.5 on and need to restore things from the backup. I know Retrospect 6.1 works under Leopard (it's currently doing a full backup on my disk as I type).
Thread
Thread Starter
Forum
Replies
Last Post
pimmo2000
Computer & Technology Related
2
21 September 2015 12:04 PM