Note: Due to the amount of SPAM received in the forums and to better serve our customers, support is now done by sending a message using the "Contact" link above . This forum is set to read-only, but you can still search the forum.

Zap Weather Questions and Comments
  • Page:
  • 1
  • 2

TOPIC: Errors with Cron Job

Errors with Cron Job 15 years 6 months ago #8

  • trehahn
  • trehahn's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
I recently upgraded to the new Zweather, but ever since the Cron won't run. I keep getting errors, and was telling me it couldn't access the IP, I changed the domain to the IP in the cron, and its now saying Error accessing site then the IP. I did see where it shows in the readme to put the info in, however those fields don't exist on my Global Settings. The fields I'm talking about are:

From the Joomla administrator, open the Z Weather screen and click the global settings button to modify the following settings:

- Cache Refresh Mode: change to "Background cache refresh (cron)". Use the other option to disable cron from updating the cache.

- Cron IP Address: use the default "127.0.0.1" address unless your cron job is running on a server different from your web server.

There is a remote cron IP field, but it's not on a remote machine, and that says to leave it blank. Can anyone give any more detail on the new version and setting up the cron to run with it?
The administrator has disabled public write access.

Re:Errors with Cron Job 15 years 6 months ago #9

  • cogliano
  • cogliano's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1854
  • Thank you received: 58
  • Karma: 29
This in the global settings for Z Weather, accessed from Z Weather's main control panel. You should see the settings as shown in the screenshot here.
Attachments:
The administrator has disabled public write access.

Re:Errors with Cron Job 15 years 6 months ago #10

  • trehahn
  • trehahn's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Yeah, I'm aware of that page. That was the page I referred to as well. I set the cron up like the instructions said to, and kept getting an error saying that I needed to set it up with the IP in that page. When I put my mouse over the text, it says not to use it, if the cron is run from the same server, the IP/domain it was showing is my IP and domain. So I never used it. I later thought I'd give it a shot, and entered the IP in there, and it's working fine. It is the same IP so by that text and instruction, with the popup window next to that field, you would not enter it. In reality it was needed, and when I tried it worked fine and has been updating ever since. So I got it, thanks! It would be helpful to have a page with common problems, and solutions, just a suggestion. I love this extension! Thanks!
The administrator has disabled public write access.

Re:Errors with Cron Job 15 years 6 months ago #11

  • cogliano
  • cogliano's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1854
  • Thank you received: 58
  • Karma: 29
OK, that's interesting, normally the localhost address 127.0.0.1 will work when the cron job is running on the same machine as the webserver.

I'm glad you got it working. I am working on improving the site with more support articles and a user forum, which as you have found is already online.
The administrator has disabled public write access.

Re:Errors with Cron Job 15 years 6 months ago #14

  • Swiftek
  • Swiftek's Avatar
  • OFFLINE
  • Fresh Boarder
  • If I cant fix it, it aint broke.
  • Posts: 6
  • Karma: 0
B)
I see that you've fixed the problem, but I had a thought. I hate loose ends and unanswered questions.

Even if your cron server is "the same" server as your web server, you may still need to put in the IP address. If you are running the site from your own computer, then this may not apply.

Large hosting companies (like GoDaddy) have huge systems and frequently, things that seem to be on the same IP are not, or may actually be for some purposes and not for others. I've learned to almost never rely on "localhost" or "127.0.0.1" when setting things up. I try to always call out the server IP address explicitly.

I may be way off track, but I thought I'd stick my two cents in just in case it helps. I spent a lot of time wrestling with GoDaddy's Cron Manager and learned a bit about it.
The administrator has disabled public write access.

Re:Errors with Cron Job 15 years 4 months ago #58

  • jdtriplett
  • jdtriplett's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi ,
I am having truoble getting my cron job to activate. I belive the biggest question I have is the script modification?
can you show me and example of a working script not generic I believe the Path_to_file is what is wron with my cronjob ..
I have the rest of the script modified as per the readme .

thanks in advance from a noob ..:)
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.097 seconds
Powered by Kunena Forum