Help - Search - Members - Calendar
Full Version: Using fetchmail with cron job on cpanel
SpamCop Discussion > Discussions & Observations > Geek/Tech Things > Software Issues
estado3
I am trying to run a cron job on cpanel using fetchmail, I would like to do this every hour, can someone clarify for me what the command is?
StevenUnderwood
QUOTE(estado3 @ Feb 5 2007, 09:25 AM) *

I am trying to run a cron job on cpanel using fetchmail, I would like to do this every hour, can someone clarify for me what the command is?
This definitely does not belong in the mailhost forum...

Lounge.... Geek Software.... Lounge.... Geek Software....

To Geek software we go with this post...
Farelf
Not exactly swamped with replies - have you looked in socketmail.info? Like Setting cron-job fetchmail mechanism. Or perhaps try a more specialized forum like The Planet Forums, seeing a "HOWTOs" section under the "System Administration" stream, also a "Control Panels" stream with a forum on cPanel.

HTH
Wazoo
QUOTE(Farelf @ Feb 5 2007, 08:46 PM) *
Not exactly swamped with replies

Way too many unknowns from this side of the screen.

For example, you don't "run things 'on' cpanel" ... cpanel is simply an admin tool to access some of the system tools .. and what is accessible is dependent on what the ISP has allowed.

Host is not defined.
Operating system is not defined.
Access to 'cron' itself isn't actually defined.
fetchnail itself would also have a myriad of possible "command line switches" available, but none of that ilk was defined.

Therefore, any answer beyond "use standard cron syntax" is a bit difficult.
estado3
QUOTE(Wazoo @ Feb 5 2007, 11:20 PM) *

Way too many unknowns from this side of the screen.

For example, you don't "run things 'on' cpanel" ... cpanel is simply an admin tool to access some of the system tools .. and what is accessible is dependent on what the ISP has allowed.

Host is not defined.
Operating system is not defined.
Access to 'cron' itself isn't actually defined.
fetchnail itself would also have a myriad of possible "command line switches" available, but none of that ilk was defined.

Therefore, any answer beyond "use standard cron syntax" is a bit difficult.


Thanks for replying

The cpanel settings are:

kernel 2.6.17.6.dn2.p4
machine type i686
cpanel build 10.90.0-RELEASE cpanel build
Theme cpanel x v2.6.0
cpanel pro 1.0(RC36)


For fetchmail, the sever was added as pop.mail.yahoo.com with my username and password, no remote box, and chose to save in inbox, with the cronjob hours minutes and seconds selected with it's own program interface, and the command: /usr/bin/fetchmail -s

as the cronjob

however the emailed results says:

fetchmail: no mailservers have been specified.

I have run out of ideas and suggestions.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.