script to shutdown system - howto
Posted: Wed Jul 07, 2004 2:44 pm
I run the proftpd in RH9 and allow u/l and d/l, how to write a script
such that it is cron to run after system start and yet it check
1) no traffic in proftpd (and to xferlog)
2) time is 02:30 am
Then, it issue system shutdown command for shutdown
shutdown -h now
Thanks,
Matthew
such that it is cron to run after system start and yet it check
1) no traffic in proftpd (and to xferlog)
2) time is 02:30 am
Then, it issue system shutdown command for shutdown
shutdown -h now
Thanks,
Matthew