cron running AS while logged out?
cron running AS while logged out?
- Subject: cron running AS while logged out?
- From: Harald E Brandt <email@hidden>
- Date: Sat, 20 Jul 2002 00:09:17 +0200
Why can't cron run pure (i.e no tell blocks) Applescript when I am logged out? Since Standard Additions is in Systems folder, and I use no windows or GUI, I thought it could run without me being logged-in, but obviously not. Is there any possibility at all to use AS while being logged-out? I did these extremely small tests:
(1) Pure Unix:
date >> /Users/harald/Documents/cron_unix_tst
(2) AppleScript using only Standard Additions:
set fref to open for access file "HD:Users:harald:Documents:cron_AS_test" with write permission
write ((current date) as text) & return to fref starting at eof
close access fref
While logged-in, both run well and smoothly in the background every minute via cron (set by CronniX). But when I log out, only the pure Unix version continue to write the current date in the file.
So, what "things" can I use in cron to run while being logged-out?
Any AppleScript at all? Some Perl?
--heb
__________________________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.