degmo
degmo

Reputation: 177

Run Sitecore scheduled task (powershell script) same time every day

I have a sitecore powershell script that I need to run every day at the same time. As everyone knows, this isn't possible out of the box. I have read on this site and other blogs that one way to get around it is by updating the "last run" time of the task to the desired time at the end of the task. Is it possible to update the "last run" time of task in powershell?

Upvotes: 1

Views: 1315

Answers (2)

Ben Golden
Ben Golden

Reputation: 1580

Yes, you could write a script for Sitecore Powershell Extensions to update the last run time. However, I think you would be better off using the SiteCron module for this.

Upvotes: 1

Related Questions