Tuesday, May 22, 2012

cron

Cron jobs:
Cron jobs in general must:
  • Never have output unless needed
  • ALWAYS output if ANY error happens
  • Never /dev/null stderr unless no other way. And there is Always a Way.

rsync with delete option and different ssh port

How to rsync e.g PIPELINE dir from Source to Destination? #rsync -avzr   --delete-before  -e "ssh -p $portNumber"  /local...