繁体   English   中英

每天相同时间运行Sitecore计划任务(PowerShell脚本)

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

我有一个Sitecore Powershell脚本,我需要每天同时运行。 众所周知,这是不可能的。 我已经在该网站和其他博客上读到,解决该问题的一种方法是将任务的“上次运行”时间更新为任务结束时的所需时间。 是否可以在Powershell中更新任务的“上次运行”时间?

是的,您可以为Sitecore Powershell Extensions编写脚本以更新上次运行时间。 但是,我认为您最好使用SiteCron模块

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM