Re: starting fetch mail when system boots up

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

 



Tim wrote:
On Wed, 2006-05-24 at 20:14 -0700, Don Russell wrote:
Is there a (standard/best practices) way to start fetchmail automatically when the system starts? I've googled and seen that it's easy, just "service fetchmail start", but when I try that as root, I get an error that says fetchmail is an unrecognized service.

In my /etc/rc.local I have entries like this, one per user:

su janedoe -c "/usr/bin/fetchmail -d 900"
su johndoe -c "/usr/bin/fetchmail -d 913"

NB:  I picked different poll periods so everything doesn't happen at
once, all the time.

Tim, that worked great... while I was in /etc/rc.local I added another line to send a short e-mail message saying the system restarted and to check things out. This way I'll be notified of any unscheduled restarts too. (power fail/restore or whatever)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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