/[sysadmin-cookbook]/recepies/smart/dump.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/smart/dump.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 274 by dpavlin, Wed Sep 14 23:36:10 2011 UTC revision 276 by dpavlin, Sat Sep 17 11:05:51 2011 UTC
# Line 1  Line 1 
1  #!/bin/sh -e  #!/bin/sh
2    
3  # cron  if [ ! -e /etc/cron.d/smart ] ; then
4  # */30 *  * * *   /mnt/smart/dump.sh          echo '*/30 *  * * *   /srv/sysadmin-cookbook/recepies/smart/dump.sh' > /etc/cron.d/smart
5    fi
6    
7  cd /srv/sysadmin-cookbook/recepies/smart  cd /srv/sysadmin-cookbook/recepies/smart
8  # awk '{ if ( $3 >= 2930266584 ) print $4 }'  # awk '{ if ( $3 >= 2930266584 ) print $4 }'

Legend:
Removed from v.274  
changed lines
  Added in v.276

  ViewVC Help
Powered by ViewVC 1.1.26