Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have had Task Scheduler installed for a little while now and was working great. Now all of a sudden it does not execute any of the scheduled tasks on any of my environments (dev, staging and live). The only thing that I have recently done is upgrade the web.config to use integrated pipeline in IIS7.
I've checked that the right URL is stored in the schedule URL field. The umbracoSettings.config file looks ok and hasn't been touched. The website is also being used constantly (all environments).
Another strange thing is that scheduled tasks that I have setup in CMS Import no longer execute as well.
Strange, no? Is there anything else that I should be looking out for? As mentioned, the only thing that has changed since this stopped working is the web.config. Any help appreciated.
Can you check the UmbracoLog table in the database and see if there is an Error? Can you execute the handler /umbraco/plugins/taskscheduler/handlers/scheduledTaskHandler.ashx?
I can't see any errors in the log table and executing the handler seems fine. I might un-install then re-install and see if that kicks things back into gear.
Before reinstall, check the scheduler settings in Umbraco.Settings file please. Do the handlers exists in the schedulersettings section?
Yup, I just checked the UmbrcoSettings config, and the handlers exist:
<scheduledTasks> <task log="true" alias="CMSImportScheduler" interval="60" url="http://localhost/umbraco/plugins/CMSImport/Handlers/ScheduleTaskHandler.ashx" /> <task log="true" alias="CMSImportScheduler" interval="60" url="http://localhost/umbraco/plugins/CMSImport/Handlers/ScheduleTaskHandler.ashx" /> <task log="false" alias="TaskScheduler" interval="60" url="http://localhost/umbraco/plugins/TaskScheduler/handlers/ScheduledTaskHandler.ashx" /><scheduledTask>
Funnily enough, I just checked my emails this morning and it seems like the CMS Import scheduled tasks started working last night.
Although TaskScheduler looks like it hasn't kicked in. Checked the URL's to be executed and they are working fine, and time and days set
correctly as well - just executing at the set times.
Can it be that a spam filter is blocking the emails? I had that myself a couple of times.
No i've checked that as well, on both the server and on my client machine. Its seems like that the CMS Import task scheduler is only running intermittently now, so I'm still investigating what the cause might be. It just seems really strange since changing to integrated pipeline in IIS7 seems to have made this go a funny. Will see if switching back to classic mode runs as normal, but I don't see why this should affect it?
I had the excat same issue as posted at the start. I uninstalled and then re-instaleld the task scheduler and it seemed to start running again?
I had done an upgrade of a couple of minor versions - could it have been related to that?
Anyways, all good again!
Hmm weird, should not have been related to the upgrades, what could have happened is that the app_pool recycled during an import and then the importing flag was still set to true. I'm thinking about a way to improve that for a next version.
This thread is a bit old, but I just experienced the same thing, but I found the error in my installation.
When I installed it, the installer setup a task in umbracoSettings.config which pointed to my developer url. After the site went live I removed the developer url on the IIS site, and applied the live url. This makes the TaskScheduler url in umbracoSettings.config unavailable, and therefore it doesn't execute.
I have the same phenomen: After upgrading a 4.10 Site to 6.0.3 the scheduler doesn't work anymore. My code
<scheduledTasks> <!-- add tasks that should be called with an interval (seconds) --> <task log="false" alias="scheduler" interval="60" url="http://www.myDomain.de/extensions/scheduler.aspx" /> </scheduledTasks>
The scheduler.aspx link is working fine, if I browse to that link.
Does anybody have suggestions what I can do?
It's based on the publisher from Umbraco so can you use the scheduled publisher after upgrade?
I'm having the same problem in 6.1.5
Did you find a solution to the problem?
Did you upgrade or is it a fresh install?
The only thing I can really recommend is to uninstall and then reinstall the package, then recreate the scheduler settings.
Hi thanks for the reply.
in my umbraco config I have
<task log="true" alias="TestJob" interval="60" url="http://www.website.com/postman.aspx" />
<task log="false" alias="TaskScheduler" interval="60" url="http://www.website.com/umbraco/plugins/TaskScheduler/handlers/ScheduledTaskHandler.ashx" />
The Page that executes my emails is called postman.aspx. When executed manualy it works fine.
executing http://www.website.com/umbraco/plugins/TaskScheduler/handlers/ScheduledTaskHandler.ashx works fine
I've added testjob to check if it will execute every 60sec but it doesn't.
The clean installation was umbraco 6 and then I upgraded to 6.1.5
Log is set to true but I can find any reference to the job. How will I go about debugging this, for I don't have access to the server it is running on.
Any help will be appreciated.
Anyone else have this issue? I have.. after upgrade from 4 to 6....
I assume the scheduledtasks settings in the file /config/umbracosettings.config didn't get migrated after the upgrade, can you check that?
That would be nice... but no, the scheduled tasks are all there as before.
The task does in fact run on startup, just never again!
<!-- add tasks that should be called with an interval (seconds) -->
<!-- <task log="true" alias="test60" interval="60" url="http://localhost/umbraco/test.aspx"/>-->
<task log="true" alias="sendEmailsInQueue" interval="540" url="http://www.idoinventories.com/process-email-queue/"/>
Hmm I think Umbraco V6 has some issues with the scheduler then. I've seen some posts regarding Scheduled publish as well.
I've chosen a different approach for scheduling in SEO Checker, need to find some time to port that to this package also. then the scheduler of Umbraco is no longer needed.
Sorry for now.
I was going to try a totally fresh install with db etc to see if it was causing the problem, but if its a bug....
I think it is. It should just work, like in V4.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted