Script fires each time i refresh

Post your support requests/solutions for phpJobScheduler [website]
nuckecy

Script fires each time i refresh

Postby nuckecy » Mon Apr 16, 2012 11:14 am

Dear David,

You script is awesome! I have setup everything correctly and scheduled a job to send emails every 10mins. But am experiencing a little problem, each time I refresh the index page on my website it fires a mail. I used the include option. I also tried to schedule 1 hour its still fires a mail.

Please what can I do to fix this?

Best regards

davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1807
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Re: Script fires each time i refresh

Postby davidgwalker » Mon Apr 16, 2012 12:14 pm

Hi thanks for you positive comments.

It sounds like it may not be updating the database records when it is firing.

Please let me know what versions you are using:
PHP
MySQL

Thanks

Dave

nuckecy

Re: Script fires each time i refresh

Postby nuckecy » Mon Apr 16, 2012 5:10 pm

Hi David,

Thanks for the quick response.

Am using MySQL client version: 5.0.51a and PHP Version 5.2.14.

The records are updating because when it fires I look at it from the backend and try to understand the timing used.

example this is a line of a job i schedule. I replaced the content of Email site stats to boss.php

| 5 |http://192.168.0.30/apps/testing/phpjobscheduler/e...| Email site stats to boss | 600 | 1334576781 | 1334576181 | 0 | 0 |

See if you can help thanks.

davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1807
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Re: Script fires each time i refresh

Postby davidgwalker » Mon Apr 16, 2012 5:55 pm

Just tested it on an even newer version of PHP and it is failing to setup the required table in MySQL!

So it needs an update. I will get to it SOME time.... when?!? Not for some time. But if you want to fix it and let post it I will add it to the main release.

If you are interested i knowing when I issue a new release follow me:
https://twitter.com/#!/dwalkercouk
as I post updates there.

Cheers

Dave

davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1807
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Re: Script fires each time i refresh

Postby davidgwalker » Sun Apr 22, 2012 1:27 pm

New version now out:
viewtopic.php?f=1&t=1117


Return to “phpJobScheduler [forum]”

Who is online

Users browsing this forum: No registered users and 3 guests