Browse Source

maj cron

master
Samuel VERMEULEN 12 months ago
parent
commit
c4d32b6c36
  1. 4
      README.md

4
README.md

@ -12,8 +12,8 @@ ln -s $(pwd)/synchro-disk.sh /usr/bin/synchro-disk
synchro-disk /dev/sdX # sdX étant le second disque
```
## Cron
## Cron toutes les heures
```
echo -e "$(date)\n" > /var/log/synchro-disk.log 2>&1 && /usr/bin/synchro-disk /dev/sdX >> /var/log/synchro-disk.log 2>&1
0 * * * * echo -e "$(date)\n" > /var/log/synchro-disk.log 2>&1 && /usr/bin/synchro-disk /dev/sdX >> /var/log/synchro-disk.log 2>&1
```
Loading…
Cancel
Save