[glux] mistero cron

gigiv gigiv2@gmail.com
Lun 11 Giu 2007 11:43:28 CEST


non so piu' cosa fare
ho ricontrollato il crontab piu' volte
magri la soluzione l'ho davanti agli occhi ma non la vedo

riporto il crontab, dove a ore prestabilite viene fatto un backup delle
varie cartelle

naturalmente quando lancio il comando da shell tutto va a buon fine
mentre cron esegue il comando (zip) che pero' si ferma poco prima della fine
lasciando sti cacchio di file temporanei

p.es
riga di crontab:
00 20 * * *  /usr/bin/zip -ur /dati/backup/opq.zip /dati/arch/arc/opq

file zip da aggiornare:
-rw-rw-rw- 1 master master 281M 2007-06-04 20:00 opq.zip

file temporanei lasiati dal fallimento di zip:
-rw-r--r-- 1 master master 280M 2007-06-10 20:00 ziLLF15i
-rw-r--r-- 1 master master 280M 2007-06-09 20:00 zilwF0KN

qualche buon'anima mi da' una dritta

grassie

ciao
gg

-----------------------------------------------------------------------------------------------

12 09 * * *  /usr/bin/zip -ur /dati/backup/abc.zip /dati/arch/arc/abc
00 13 * * *  /usr/bin/zip -ur /dati/backup/def.zip /dati/arch/arc/def
00 14 * * *  /usr/bin/zip -ur /dati/backup/ghi.zip /dati/arch/arc/ghi
00 18 * * *  /usr/bin/zip -ur /dati/backup/lmn.zip /dati/arch/arc/lmn
00 20 * * *  /usr/bin/zip -ur /dati/backup/opq.zip /dati/arch/arc/opq
00 21 * * *  /usr/bin/zip -ur /dati/backup/rst.zip /dati/arch/arc/rst
00 22 * * *  /usr/bin/zip -ur /dati/backup/uvz.zip /dati/arch/arc/uvz
00 01 * * *  /usr/bin/zip -ur /dati/backup/bigl.zip /dati/arch/arc/biglietti
00 04 * * *  /usr/bin/zip -ur /dati/backup/imm.zip /dati/arch/arc/immagini
30 13 * * * /usr/bin/zip -ur /dati/backup/loghi.zip /dati/arch/arc/loghi
15 13 * * * /usr/bin/zip -ur /dati/backup/etic.zip /dati/arch/arc/etichette


master@ma-ma:/dati/backup$ ls -lh
total 14G
-rw-rw-rw- 1 master master 1,6G 2007-06-07 18:35 abc.zip
-rw-rw-rw- 1 master master 405M 2007-06-10 01:00 bigl.zip
-rw-r--r--    1 master master 869M 2007-06-06 13:01 def.zip
-rw-rw-rw- 1 master master  11M 2007-06-06 13:15 etic.zip
-rw-rw-rw- 1 master master 1,4G 2007-06-06 14:01 ghi.zip
-rw-rw-rw- 1 master master 1,8G 2007-06-06 04:02 imm.zip
-rw-rw-rw- 1 master master 325M 2007-05-16 08:58 interni.back
-rw-rw-rw- 1 master master 307M 2007-06-06 18:00 lmn.zip
-rw-rw-rw- 1 master master  87M 2007-06-06 13:30 loghi.zip
-rw-rw-rw- 1 master master 281M 2007-06-04 20:00 opq.zip
-rw-r--r--   1 master master 517M 2007-06-01 16:23 rst.zip
-rw-rw-rw- 1 master master  61M 2007-06-07 22:00 uvz.zip
-rw-r--r-- 1 master master 1,6G 2007-06-11 09:14 zi116Man
-rw-r--r-- 1 master master 1,6G 2007-06-10 09:14 zi1yCXNP
-rw-r--r-- 1 master master 307M 2007-06-10 18:00 ziczlbZx
-rw-r--r-- 1 master master 522M 2007-06-09 21:00 ziD3OZkC
-rw-r--r-- 1 master master 307M 2007-06-09 18:00 ziFUXNx5
-rw-r--r-- 1 master master 280M 2007-06-10 20:00 ziLLF15i
-rw-r--r-- 1 master master 280M 2007-06-09 20:00 zilwF0KN
-rw-r--r-- 1 master master 522M 2007-06-10 21:00 zimM7HZT
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://lists.linux.it/pipermail/glux/attachments/20070611/11dbdff0/attachment.htm 


Maggiori informazioni sulla lista glux