sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #70114
Re: crontab
Leif Lende skrev:
Jo jo der er en mail. Siger den ikke kan finde
mappe.´/usr/local/scripts/vard
Tror jeg har forklaringen på misæren.
Fejl: - type (mellemrum)
Fejl : ../ skal bruges i crontab for at komme ned fra /root til /, men
ikke i shell script, som tager for givet at vi er der.
Skal prøves ad
Leif
Så har jeg fået scriptene installeret i crontab:
crontab /etc/bcup/bcup
bcup eks:
0 5 * * * /usr/local/scripts/etc
#og så nogle flere scripthensvisninger
etcd eks:
#!/bin/bash
tar cvfz /disk/sda1/etc_d`date -I`.tgz `find /etc -mtime -7 -type f
-print` > /disk/sda1/etc_d`date -I`_bcup_.txt
giver dato i filnavnene.
Tak for hjælp
References
-
Re: crontab
From: Leif Lende, 2004-01-11
-
Re: crontab
From: Leif Lende, 2004-01-11
-
Re: crontab
From: Leif Lende, 2004-01-11
-
crontab
From: Leif Lende, 2004-01-10
-
Re: crontab
From: Kim Schulz, 2004-01-10
-
Re: crontab
From: Leif Lende, 2004-01-10
-
Re: crontab
From: Leif Lende, 2004-01-10
-
Re: crontab
From: Jesper Lund, 2004-01-11
-
Re: crontab
From: Kim Schulz, 2004-01-11
-
Re: crontab
From: Kim Schulz, 2004-01-12
-
Re: crontab
From: Leif Lende, 2004-01-12
-
Re: crontab
From: Kristian Vilmann, 2004-01-12
-
Re: crontab
From: Leif Lende, 2004-01-13
-
Re: crontab
From: Kristian Vilmann, 2004-01-13
-
Re: crontab
From: Leif Lende, 2004-01-13