is it possible to add more then 1 group to read
also whats the best way to setup a cron tab to run brag between say 2am to 11am
Only one group at a time, but of course you can start a separate process for each group:
0 2 * * * for group in a b c; do brag -g $group; done
To stop all running brags at 11am:
0 11 * * * kill `ps -ef|grep brag|grep -v grep|awk '{print $1'}`
On some OSs, you may have to use "ps aux" instead of "ps -ef" .
Log in to post a comment.
is it possible to add more then 1 group to read
also whats the best way to setup a cron tab to run brag between say 2am to 11am
Only one group at a time, but of course you can
start a separate process for each group:
0 2 * * * for group in a b c; do brag -g $group; done
To stop all running brags at 11am:
0 11 * * * kill `ps -ef|grep brag|grep -v grep|awk '{print $1'}`
On some OSs, you may have to use "ps aux" instead of
"ps -ef" .