non so piu' cosa fare<br>ho ricontrollato il crontab piu' volte<br>magri la soluzione l'ho davanti agli occhi ma non la vedo<br><br>riporto il crontab, dove a ore prestabilite viene fatto un backup delle varie cartelle
<br><br>naturalmente quando lancio il comando da shell tutto va a buon fine<br>mentre cron esegue il comando (zip) che pero' si ferma poco prima della fine lasciando sti cacchio di file temporanei<br><br><a href="http://p.es">
p.es</a><br>riga di crontab:<br>00 20 * * * /usr/bin/zip -ur /dati/backup/opq.zip /dati/arch/arc/opq<br><br>file zip da aggiornare:<br>-rw-rw-rw- 1 master master 281M 2007-06-04 20:00 opq.zip<br><br>file temporanei lasiati dal fallimento di zip:
<br>-rw-r--r-- 1 master master 280M 2007-06-10 20:00 ziLLF15i<br>
-rw-r--r-- 1 master master 280M 2007-06-09 20:00 zilwF0KN<br><br>qualche buon'anima mi da' una dritta<br><br>grassie<br><br>ciao<br>gg<br><br>-----------------------------------------------------------------------------------------------
<br><br>12 09 * * * /usr/bin/zip -ur /dati/backup/abc.zip /dati/arch/arc/abc<br>00 13 * * * /usr/bin/zip -ur /dati/backup/def.zip /dati/arch/arc/def<br>00 14 * * * /usr/bin/zip -ur /dati/backup/ghi.zip /dati/arch/arc/ghi
<br>00 18 * * * /usr/bin/zip -ur /dati/backup/lmn.zip /dati/arch/arc/lmn<br>00 20 * * * /usr/bin/zip -ur /dati/backup/opq.zip /dati/arch/arc/opq<br>00 21 * * * /usr/bin/zip -ur /dati/backup/rst.zip /dati/arch/arc/rst<br>
00 22 * * * /usr/bin/zip -ur /dati/backup/uvz.zip /dati/arch/arc/uvz<br>00 01 * * * /usr/bin/zip -ur /dati/backup/bigl.zip /dati/arch/arc/biglietti<br>00 04 * * * /usr/bin/zip -ur /dati/backup/imm.zip /dati/arch/arc/immagini
<br>30 13 * * * /usr/bin/zip -ur /dati/backup/loghi.zip /dati/arch/arc/loghi<br>15 13 * * * /usr/bin/zip -ur /dati/backup/etic.zip /dati/arch/arc/etichette<br><br><br>master@ma-ma:/dati/backup$ ls -lh<br>total 14G<br>-rw-rw-rw- 1 master master 1,6G 2007-06-07 18:35
abc.zip<br>-rw-rw-rw- 1 master master 405M 2007-06-10 01:00 bigl.zip<br>-rw-r--r-- 1 master master 869M 2007-06-06 13:01 def.zip<br>-rw-rw-rw- 1 master master 11M 2007-06-06 13:15 etic.zip<br>-rw-rw-rw- 1 master master 1,4G 2007-06-06 14:01
ghi.zip<br>-rw-rw-rw- 1 master master 1,8G 2007-06-06 04:02 imm.zip<br>-rw-rw-rw- 1 master master 325M 2007-05-16 08:58 interni.back<br>-rw-rw-rw- 1 master master 307M 2007-06-06 18:00 lmn.zip<br>-rw-rw-rw- 1 master master 87M 2007-06-06 13:30
loghi.zip<br>-rw-rw-rw- 1 master master 281M 2007-06-04 20:00 opq.zip<br>-rw-r--r-- 1 master master 517M 2007-06-01 16:23 rst.zip<br>-rw-rw-rw- 1 master master 61M 2007-06-07 22:00 uvz.zip<br>-rw-r--r-- 1 master master 1,6G 2007-06-11 09:14 zi116Man
<br>-rw-r--r-- 1 master master 1,6G 2007-06-10 09:14 zi1yCXNP<br>-rw-r--r-- 1 master master 307M 2007-06-10 18:00 ziczlbZx<br>-rw-r--r-- 1 master master 522M 2007-06-09 21:00 ziD3OZkC<br>-rw-r--r-- 1 master master 307M 2007-06-09 18:00 ziFUXNx5
<br>-rw-r--r-- 1 master master 280M 2007-06-10 20:00 ziLLF15i<br>-rw-r--r-- 1 master master 280M 2007-06-09 20:00 zilwF0KN<br>-rw-r--r-- 1 master master 522M 2007-06-10 21:00 zimM7HZT