source: npl/monitoring/smokeping/post.smokeping @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 279 bytes
Line 
1#!/bin/bash
2
3if ! crontab -l | grep smokeping; then
4        crontab -l > /tmp/$$.cron || exit 1
5        echo '*/5 * * * * nice smokeping --config=/home/system/smokeping/smokeping.conf --static &>/dev/null' >> /tmp/$$.cron || exit 1
6        cat /tmp/$$.cron | crontab - || exit 1
7        rm /tmp/$$.cron
8fi
9
Note: See TracBrowser for help on using the repository browser.