如何使用排程器 [英] how to use scheduler

查看:114
本文介绍了如何使用排程器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用调度程序删除任何项目?

我想构建一个具有软删除功能的应用程序,这意味着删除资源是在我们执行完一个操作之后完成的.

因此,我希望使用预定的Windows来实现此功能,但我不知道如何使用它.

谢谢&问候

Pawan Tiwari

how to use scheduler to delete any item?

i want to bulid an application that has soft deletion facality, it means deletion of resource is done after one our.

so i am looking to use windows schedular to implement this but i don''t know how to use it.

Thanks & regards

Pawan Tiwari

推荐答案

我认为不是那么简单-您必须先挂接到Windows文件删除中,以防止真实"删除功能.我知道这是有可能的,但是我不想让初学者从事这项工作-完全搞砸了太容易了!

如果必须的话,然后用google搜索"Windows Hook C#"和"Hook File Delete"并开始阅读-但您首先要做的工作很多.

相比之下,实际的一个小时不做"是很简单的!
I don''t think it''s that simple - you would have to hook into the windows file delete first to prevent the "real" delete function. I know it is possible, but it isn''t a job I''d want a beginner to get into - it would be far too easy to mess up completely!

If you must, then google for "Windows Hook C#" and "Hook File Delete" and start reading - but you have quite a bit of work to do first.

The actual "don''t do it for real for an hour" is pretty simple in comparison!


这篇关于如何使用排程器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆