[Gllug] cron conundrum

Russell Howe rhowe at wiss.co.uk
Wed Oct 6 20:24:30 UTC 2004


On Wed, Oct 06, 2004 at 10:34:15PM +0100, Richard Jones wrote:
> 5 2 * * * postgres pg_dumpall | gzip > /var/tmp/dump.sql.gz

Maybe | and > can't be used? What happens if you put the command in a
shell script and put the shell script in the crontab?

-- 
Russell Howe       | Why be just another cog in the machine,
rhowe at siksai.co.uk | when you can be the spanner in the works?
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list