"Fossies" - the Fresh Open Source Software Archive

Member "fsbackup-1.2pl2/contrib/fsbackup.cron" (16 May 2002, 309 Bytes) of package /linux/privat/old/fsbackup-1.2pl2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 # Backup planner running from crontab.
    3 # Скрипт для запуска backup подсистемы из crontab.
    4 #
    5 #
    6 # Пример строки для crontab: 18 4 * * * /opt/fsbackup/fs_backup.cron
    7 #
    8 
    9 letter="`/opt/fsbackup/create_backup.sh` "
   10 
   11 if [ "$letter" ]; then 
   12     echo  "$letter " | mail -s"`uname -n` backup report" root
   13 fi