05-19-2005
1,
0
Join Date: May 2005
Last Activity: 30 May 2005, 10:00 AM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
Help with script.
Hey all I'm a "newbee" when it comes to unix, linux etc. What I'm trying to do here is create a script that will keep running, but will stop at 12:00am and restart at 12:01am automatically. What is happening here is our pix firewall is setup to send it's log files to our Sun OS 5.6 box. I've created a script to view these logs = " tail -f /var/log/pixfirewall | /home/netadmin/log_script ". So to start my script i punch in ./main_script. How can I make it automatically stop at 12am and restart at 12:01am so I dont have to restart it manually every morning.
Thanks for the help, if more info is needed please let me know.