Re: Create new file
Re: Create new file
- Subject: Re: Create new file
- From: Graff <email@hidden>
- Date: Tue, 10 Feb 2004 13:30:12 -0500
You need to either use a program that will execute your script at a
given time, such as the command-line tool "cron" or a shareware
interface to it, such as Cronnix
<
http://www.versiontracker.com/dyn/moreinfo/macosx/9478>, or you need
to have your script set up as a stay-open application which has an idle
handler that checks the time occasionally. For long-term timing such
as a daily script I would go for a timer program such as cron or
Cronnix.
After that just make sure that your script can close the old file,
rename it, move it, and then create the new file and you are done.
Here is a guide with links to other guides on using idle handlers:
<
http://www.malcolmadams.com/itunes/itinfo/idle00.php>
- Ken
On Feb 10, 2004, at 9:40 AM, Dale J Martin wrote:
I'm trying to build a data logger system in which I need to create a
new file at midnight and continue the next days data logging. I have
the script creating and writing to a file just fine, but I don't know
where to start in creating a new file based on time.
_______________________________________________
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.