ArkiStan
07-28-2010, 11:47 PM
Well, here's the behind story. We are a small office and while we have a web domain and associated email addresses, we fetch the mail with POP3 using gmail as our main client. Anybody who uses POP3 with gmail knows that the interval for fetching mail can be pretty slow unless you get sh*tloads of mail. Apparently gmail automatically determines the fetching interval based on how much mail you get to that address. Based on our current usage gmail fetches our email about once an hour, which is not nearly enough for business purposes. After some searching I found this article (http://techpatio.com/2010/guides-how-to/gmail-how-to-modify-pop3-mail-fetcher-frequency) which claims you can trick gmail into fetching POP3 emails more often simply by having more email sent to that address. You can do that by setting up a "cronjob" with your webhost to automatically send frequent emails to that address and then simply filtering them to be sent to trash in gmail.
Now, to get to my point, I've found out where I make cronjobs in my webhost's cPanel. Now I just need to set up a cronjob, but I don't know how to. The cronjob itself can be scripted to perform any task I want. Since this is only to get the email notification out, the command would purely be fore the sake of running the command. I'm wondering what would be a very simple and innocuous script or php script file I could run on my webhost. Any ideas? Of course once I decide on what to run I'll need help with the code as well.
Thanks in advance.
Now, to get to my point, I've found out where I make cronjobs in my webhost's cPanel. Now I just need to set up a cronjob, but I don't know how to. The cronjob itself can be scripted to perform any task I want. Since this is only to get the email notification out, the command would purely be fore the sake of running the command. I'm wondering what would be a very simple and innocuous script or php script file I could run on my webhost. Any ideas? Of course once I decide on what to run I'll need help with the code as well.
Thanks in advance.