[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] How do I display a timestamp during restart of IC
> Is this what you want? :
>
>
> #!/bin/sh
> var=`ps ux | grep interchange | grep -v -c grep`
> if [ $var -eq 0 ]; then
> date
> /command/to/start/interchange
> fi
>
> ----EOF---
>
> The added date command will print a time-stamp to STDOUT that will be
> grabbed by cron...you could even be really tricky and add:
>
> echo "Starting Interchange At: "
> date
> echo "\n"
This is exactly what I was looking for! Thanks for yor help!
Rene