Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Cron problems

  • Subject: Re: Cron problems
  • From: Nix <nix-razor-pit@esperi.org.uk>
  • Date: Mon, 28 Feb 2005 16:22:11 +0000
  • Cancel-lock: sha1:vlU2okyShosw6suV5yT3PFTwSkU=
  • Newsgroups: uk.comp.os.linux
  • Organization: the Core
  • References: <cvu763$2vlt$1@godfrey.mcc.ac.uk>
  • Reply-to: Nix <$}xinix{$@esperi.org.uk>
  • User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Corporate Culture, linux)
  • Xref: news.mcc.ac.uk uk.comp.os.linux:197339
On Mon, 28 Feb 2005, Roy Schestowitz uttered the following:
> I have been struggling to set up a nightly job that backs up a portion of my
> files. The following is a snippet from my crontab:
> 
> ---
> SHELL=/bin/sh
> PATH=/usr/local/bin:/bin:/usr/bin
> 
> 28 4 * * * tar czvf /home/roy/Main/Transfer_Archives/rss-`date
> +%Y-%m-%d`.tar.gz /home/roy/Main/Transfer
> ---

If that script really has a linefeed in the middle of the line, take it
out.

(Using $(...) instead of `...` can sometimes lead to better error
messages about this, as well.)

-- 
> ...Hires Root Beer...
What we need these days is a stable, fast, anti-aliased root beer
with dynamic shading. Not that you can let just anybody have root.
 --- John M. Ford

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index