in reply to Perl with Cron on Solaris

Here is what I am trying to do in sh. I am familiar with cron. I just want script #1 to run from the command prompt and script #2 to run from cron. I will try ZZamboni's suggestion.
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

Ergowolf
Does code make a sound if no one is there to type it?