General discussion

Locked

Scheduled tasks on Mac OS9

By Sceva ·
I need to copy a folder from a windows 2000 pc to a MAC OS 9/Appleshare IP 6.2 on a daily basis. I have a tape backup on the MAC and want to make sure any changes on the PC get copied to the MAC for the backup. I would prefer a solution that would only copy the changed files and add new files/folders (it is about 2.5 GB), but could delete the files on the MAC each day and copy the entire folder if necessary.
Something similar to doing a batch file with scheduled tasks in the windows world is what I am looking for, or cron in the linux world.
Thanks.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by lyon_bleu In reply to Scheduled tasks on Mac OS ...

Take a look at Retrospect, published by Dantz:
http://tinyurl.com/6zaqy
HTH,
paul

Collapse -

by lyon_bleu In reply to

Most tape drives are bundled with Retrospect Express which has a scripting language of its own, as well as the ability to be controled by AppleScript. There exist Windows clients for the full version of Restrospect. The upgrade may well be worth it just to avoid the extra time it takes to copy the files to the Mac and just have them backed up directly to tape through the network.

paul

Collapse -

by lyon_bleu In reply to Scheduled tasks on Mac OS ...

The nearest thing to batch files under Mac OS 9 is AppleScript
(AS). There are some very important differences to keep in mind.

AS is designed not to run a CLI or shell, but rather to facilitate
Interapplication Communication (IAC). Its viability as a solution
depends a great deal on to what extent a process' objects--
including commands, data, and files--are made available to AS.
A good reference is the O'Reilly "AS in a Nutshell." Here's a good
starting point for other references:
http://macscripter.net/

The good news is that there are very few system objects and
properties that AS cannot address either directly, through
Finder, or through extensions called Scripting Additions (SA)--
aka OSAXen--to the basic objects.

AS scripts can be saved as text files but are never run that way.
They can be saved from a script editor in a partially compiled
format or as an executable application file.

They can also be attached to a folder so that changes to the
folder trigger a script. One solution would be to have such a
folder action triggered when the PC uploads the files to a folder
setup for that purpose. This would require a batch file on the PC
to initiate the sequence. If it were possible to share the PC so
that it could be mounted on the Mac desktop, then AS could
handle the entire procedure. Here's a link to a
shareware scheduling app:
http://tinyurl.com/55jww

I would strongly suggest a different script editor from the one
that comes with Mac OS. Smile is an excellent, free (as in beer)
alternative offered by Satimage:
http://www.satimage.fr/software/en/index.html
They also include an SA that just happens to have a backup
command with options you might find useful.

HTH,

paul

Collapse -

by lyon_bleu In reply to

A better reference/introduction has come to my attention:
"AppleScript : The Missing Manual" by Adam Goldstein.

p

Collapse -

by Murray Brydon In reply to Scheduled tasks on Mac OS ...

The easiest thing to use is the Silverkeeper utility from LaCie and it is free, get it from www.silverkeeper.com.

Collapse -

by Sceva In reply to

Poster rated this answer.

Collapse -

by Xink[o] In reply to Scheduled tasks on Mac OS ...

Depends. You might be able to just go to the hard drive of the mac and delete the files.

-Xinko

Collapse -

by Sceva In reply to Scheduled tasks on Mac OS ...

This question was closed by the author

Back to Mac OS Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums