I would like to add a scheduled task in umbraco using "scheduled tasks" section in umbracosetting.config. How can I set start time for that. For example, I like to call indexing daily at 3:00 AM?
Could not load file or assembly 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I downloaded Microsoft.Owin.dll, but I get the next error.
System.Reflection.ReflectionTypeLoadException: Could not load types from assembly uCronos, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, errors:
Exception: System.TypeLoadException: Could not load type 'umbraco.interfaces.IDiscoverable' from assembly 'interfaces, Version=1.0.5750.18155, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Could not load type 'umbraco.interfaces.IDiscoverable' from assembly 'interfaces, Version=1.0.5750.18155, Culture=neutral, PublicKeyToken=null'.
I tried to use the TaskScheduler package. The installation went fine and everything is stored fine in the database.
But I dont get any emails :( (my task sends emails) I also checked the servertime and the umbracoSettings.config.
The tasks are defined in the scheduledTasks section, but I don't get any emails. In the logs I see following output
2018-07-27 13:18:56,674 [P8584/D19/T7] INFO Umbraco.Web.Scheduling.ScheduledTasks - Task1 has been called with response: False
If I call the API Url manually, I directly get my email.
Any suggestions?
Scheduled Task
Hi
I would like to add a scheduled task in umbraco using "scheduled tasks" section in umbracosetting.config. How can I set start time for that. For example, I like to call indexing daily at 3:00 AM?
Regards,
Nami
You can't do that in the config file, but make sure to check the TaskScheduler package.
is there currently a better solution ? I am using Umbraco version 7.3.0. This package seems not tested very well. Thank you for your input
uCronos might be what you need: https://our.umbraco.com/projects/backoffice-extensions/ucronos/
This is based something called Hangfire, which I LOVE.
If uCronos doesn't work for you, you could go for some custom code and use Hangfire directly: http://camaya.co/posts/2016/07/31/how-to-integrate-hangfire-with-umbraco/
I reveceive this error message
I downloaded Microsoft.Owin.dll, but I get the next error.
Exception: System.TypeLoadException: Could not load type 'umbraco.interfaces.IDiscoverable' from assembly 'interfaces, Version=1.0.5750.18155, Culture=neutral, PublicKeyToken=null'. Exception: System.TypeLoadException: Could not load type 'umbraco.interfaces.IDiscoverable' from assembly 'interfaces, Version=1.0.5750.18155, Culture=neutral, PublicKeyToken=null'.
It seems to be a jinx on it.
I tried to use the TaskScheduler package. The installation went fine and everything is stored fine in the database. But I dont get any emails :( (my task sends emails) I also checked the servertime and the umbracoSettings.config.
The tasks are defined in the scheduledTasks section, but I don't get any emails. In the logs I see following output
If I call the API Url manually, I directly get my email. Any suggestions?
It seems to be a DMARC-policy problem, why I don't receive any emails
is working on a reply...