On Fri, Feb 02, 2001 at 01:01:40PM -0600, dopp at acm.cs.umn.edu wrote: > Why write it in php? Just write a script in shell or perl and then > run it from cron. I think this is a question of preference, really. You can certainly write PHP scripts to do the same thing that bash or perl scripts do. For that matter, you could write Python scripts. They are all incarnations of the same beast: automation through scripting. Most of them can be made executable through: #!/usr/bin/env <interpreter> Given that you have your ${PATH} include /usr/bin. Kind of nice. You won't get an error if you install perl in /usr/local/bin instead of /usr/bin. #!/usr/bin/env perl No testing for executable location. ;-) -- Chad Walstrom <chewie at wookimus.net> | a.k.a. ^chewie http://www.wookimus.net/ | s.k.a. gunnarr Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010209/5b1167e6/attachment.pgp