Script #1 start the server and grab the process ID. nohup /local/silverstream/bin/SilverServer -nodbcheck & SIL=$! > Silverprocess echo $SIL bash-2.03# cat logger.sh kill -9 $SIL Script #2 kill the process and grab the log file mv log2 /local/home/admin/log2"`date|sed s/\ /_/g`" touch log2 chmod 644 log2 chown root log2 chgrp other log2
In reply to Re: Perl with Cron on Solaris
by ergowolf
in thread Perl with Cron on Solaris
by ergowolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |