Hello, I'm trying to solve a little issue: I wish to redirect my cron jobs'output to log files. STDOUT redirection is done inside the crontab, but VACUUM still yields its messages[1] through, onto STDERR, I guess. I wouldn't like to '2>&1' also: I wish I could keep STDERR (what if an error condition must be reported ?). Is there a way to do so ? Thanks in advance, BR, Francis [1]e.g.: <snip> NOTICE: --Relation pg_type-- NOTICE: Pages 3: Changed 0, Empty 0; Tup 145: Vac 0, Keep 0, UnUsed 2. Total CPU 0.00s/0.00u sec elapsed 0.07 sec. NOTICE: Analyzing pg_type NOTICE: --Relation pg_attribute-- NOTICE: Pages 12: Changed 0, Empty 0; Tup 827: Vac 0, Keep 0, UnUsed 32. Total CPU 0.00s/0.00u sec elapsed 0.00 sec. NOTICE: Analyzing pg_attribute </snip>
Attachment:
pgpQE0MPOuG4r.pgp
Description: PGP signature