Searching through the forum it seems that no one spotted this way before...otherwise, sorry!
The main point is that since I don't have access on cron and I'm not so comfortable with the "click-the-page-to-fire-the-scrip" thing (yes, I'm never sure that someone will click my website!), I use an external server's test website to fire the script every day at the same hour.
There are many sites that provide this kind of service; personally I use externaltest.com (hey, it's free).
Once signed up you can build a new test (HTTP performance type), give a full path pointing to the script (as http://www.mydomain/phpjobscheduler/firepjs.php) and everything is done! Every half-hour, every hour or once a day starting from test's registration time the website will trigger the script for you.
I use it on a daily base with the default phpJobScheduler 60 min time frame window and works like a charm.
Thanks a lot to Mr. Walker for this great piece of software!
Another way to fire phpJobScheduler
-
- MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
- Posts: 1809
- Joined: Mon Oct 25, 2004 8:20 pm
- Location: Huddersfield, UK
- Contact:
Re: Another way to fire phpJobScheduler
Hi Sean, and welcome to the forums,
That sounds like a good solution, especially if your website does not get hits every single hour.
Thanks for your input and hope you have a Great Christmas
Dave.
That sounds like a good solution, especially if your website does not get hits every single hour.
Thanks for your input and hope you have a Great Christmas

Dave.
-
- MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
- Posts: 1809
- Joined: Mon Oct 25, 2004 8:20 pm
- Location: Huddersfield, UK
- Contact:
Re: Another way to fire phpJobScheduler
I have received another method of firing the script from Jens (a much appreciated supporter of my software):
- I have a suggestion: In order to avoid that customers are
faced with the processing delays of the schedules jobs
(like backup) I restricted the triggering page visits
to unimportant search engine bots (msn and yahoo):
Code: Select all
if ((strpos($_SERVER['HTTP_USER_AGENT'],'msnbot')) || (strpos($_SERVER['HTTP_USER_AGENT'],'Slurp')))
include( dirname(__FILE__) . "/pjsfiles/phpjobscheduler.php");
It only works however, if your page is visited regularly by these bots.
-
- MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
- Posts: 1809
- Joined: Mon Oct 25, 2004 8:20 pm
- Location: Huddersfield, UK
- Contact:
Re: Another way to fire phpJobScheduler
Probably the easiest way to fire your phpjobScheduler on the new version is to add the following HTML to any page on your website:
Ensure you change 'YOURDOMAIN' to your own domain name!
If your website does not receive enough hits then you can add that html to any web page on any website (not just to the site where phpJobScheduler is installed).
Dave.
Code: Select all
<a href="http://www.phpjobscheduler.co.uk/" title="phpJobScheduler"><img src="http://YOURDOMAIN/phpjobscheduler/firepjs.php?return_image=1" border="0" alt="phpJobScheduler"></a>
If your website does not receive enough hits then you can add that html to any web page on any website (not just to the site where phpJobScheduler is installed).
Dave.
Return to “phpJobScheduler [forum]”
Who is online
Users browsing this forum: Google [Bot] and 1 guest