Keychain Scripting for Program Linking "unstable"
Keychain Scripting for Program Linking "unstable"
- Subject: Keychain Scripting for Program Linking "unstable"
- From: Harald E Brandt <email@hidden>
- Date: Sat, 9 Mar 2002 11:51:38 +0100
The block:
tell application "Keychain Scripting"
unlock keychain "Link" with password "blabla"
quit
end tell
sometimes, but only sometimes, fails if run unattended during night.
Why?
I run scripts unattended (scheduled) during night, and they target the Finder of a few other computers on the network via AppleTalk, and I use Keychain Scripting to open up a key chain for getting access to these computers. The whole thing works perfectly whenever I test it, and during long periods it works perfectly also scheduled at nighttime when disks and monitor wakes up automatically to run the script.
However, every now and then, it happens that somehow the key doesn't get opened, so in the morning, I am met with a prompt for userid and password to get access to the (remote) computer, as if the key didn't contain the id/password. It NEVER happens when I manually run my script - only nighttime unattended, when disks are usually spun down!? The failure is as if the key doesn't contain the userid and password for the computer; but it ALWAYS work when I manually open the key chain or run the script!? A sleepy key?
Why is the keychain thing sometimes failing?
What can I do about it?
Mac OS 9.2.2, AS 1.6
Regards,
__________________________BragIt___________________________
Harald E Brandt email@hidden
http://bragit.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.