[OT] cron difference between a RH system and Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are 2 systems...  On is a RHELv4 the other is a Ubuntu
system...don't know the version.

Both have postgreSQL install....slightly different versions...but I
don't think that matters.

The RHEL system       pg_dump (PostgreSQL) 8.1.2
The Ubuntu system    pg_dump (PostgreSQL) 8.3.6

The issue is running pg_dump from a cron job.

The RHEL system is running just fine....and the admin of the system
wanted to move the same backup scripts to the Ubuntu system.  On the
Ubuntu system the job ran fine from the command line but produced a 0
length dump file when run from cron.

The solution to the problem was to redirect stdout and stderr to either
a file or /dev/null for the pg_dump command.

Does anyone have a clue as to why the different behavior?   I know this
may be a (cough, cough) Ubuntu question...but does anyone have an idea
if there is a "switch" that can be turned on so the redirect is not needed?



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux