Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. omoran

    Tracking time spent during a while loop

    Try using date passed to a variable $ xx=`date '+%T'` $ echo $xx 11:59:38 You'll have to cater for when the minute is geater than 55 look at the date man page
  2. omoran

    Crontab file

    Try do a Script something like this my_cron.sh crontab -l > /tmp/new_cron.out if [ $COND = "VARIABLE" ] then echo "00 23 * * * command" >> /tmp/new_cron.out crontab /tmp/new_cron.sh else echo "Cron will not be changed this time - condition not meet" | mailx -s...

Part and Inventory Search

Back
Top