Jamie Wilkinson said: > echo "$0 executed on date/time in $exectime sec" >> /var/logs/$0.log
Jamie, thanks how to parse on last '/' or strip the FQpath from $0 ? # awstatsproc name.com.au /usr/local/bin/awstatsproc: /var/logs//usr/local/bin/awstatsproc.log: No such file or directory -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
