mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

backup_crontab (111B)


      1 #!/bin/bash
      2 
      3 FILE="crontab_$(date +%s)"
      4 DIR="$HOME/backup/crontab"
      5 
      6 mkdir -p "$DIR"
      7 crontab -l > "$DIR/$FILE"
      8