do shell script getting NSReceiverEvaluationScriptError: 4
do shell script getting NSReceiverEvaluationScriptError: 4
- Subject: do shell script getting NSReceiverEvaluationScriptError: 4
- From: email@hidden
- Date: Fri, 18 Jul 2003 07:32:18 -0400
Context: found my iMac hadn't run the housekeeping scripts at all despite
being left running. Probably if a Mac is sleeping zippo happens.
Decided to write an Applescript to run the scripts for the 'fun' of it.
"/private/etc/daily" runs fine but however I try to run
"/private/etc/weekly" I get a "NSReceiverEvaluationScriptError: 4" error.
I'm running it with (from memory so may be a typo here):
do shell script "/private/etc/weekly" with administrator privilege
If weekly is replaced by daily the above (with any typos corrected) works.
Side comment: there's a big security hole here as others have noted - ps
access will let you see the administrator password while such a shell script
is running.
Thanks for any illumination, Peter.
_______________________________________________
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.