Jump to content

Using fetchmail with cron job on cpanel


estado3
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...