Jump to content
Sign in to follow this  
estado3

Using fetchmail with cron job on cpanel

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×