Jump to content

Using fetchmail with cron job on cpanel


estado3

Recommended Posts

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...