首页 \ 问答 \ WCF周期性函数(WCF Periodical Function)

WCF周期性函数(WCF Periodical Function)


我有一个WCF服务的功能。
此功能必须在上午00:30(每天)运行。
如何实现它? (这项服务总是起来)

坦。
编辑:
如果有功能(在WCF中)可以定期运行的功能也解决了我的问题。



I have a function in WCF service.
this function must be run at 00:30 am(everyday).
how implement it? (this service are always up)

tanx.
Edit:
if have functionality(in WCF) that can run function periodically also my problem be solved.


原文:https://stackoverflow.com/questions/6020794
更新时间:2023-07-23 15:07

最满意答案

至少有这些apt-get扩展包可以帮助:

apt-offline - offline apt package manager
apt-zip - Update a non-networked computer using apt and removable media

这是专门为希望下载您有网络访问权限而安装在另一台机器上的情况。

否则, apt-get--download-only选项是您的朋友:

 -d, --download-only
     Download only; package files are only retrieved, not unpacked or installed.
     Configuration Item: APT::Get::Download-Only.

There are a least these apt-get extension packages that can help:

apt-offline - offline apt package manager
apt-zip - Update a non-networked computer using apt and removable media

This is specifically for the case of wanting to download where you have network access but to install on another machine where you do not.

Otherwise, the --download-only option to apt-get is your friend:

 -d, --download-only
     Download only; package files are only retrieved, not unpacked or installed.
     Configuration Item: APT::Get::Download-Only.

相关问答

更多
  • sudo apt-get install openssh -d --reinstall 这会将pacakge下载到/ var / cache / apt / archives中。 不过我想你可能是指“openssh-server”或者“openssh-client”或者“ssh”或者什么的,debian中没有openssh pacakge。 如果您打算编写脚本,您也可能对“--print-uris”选项感兴趣。 sudo apt-get install openssh -d --reinstall th ...
  • 您需要指定依赖关系。 最简单/最简单的方法是使用可用于所有资源类型的require参数。 package { "zend-server-ce-php-5.2": ensure => latest, require => Exec['apt-get update'], } 等等.. You need to specify the dependency relationships. The easiest/cleanest approach is to use the require parame ...
  • 至少有这些apt-get扩展包可以帮助: apt-offline - offline apt package manager apt-zip - Update a non-networked computer using apt and removable media 这是专门为希望下载您有网络访问权限而安装在另一台机器上的情况。 否则, apt-get的--download-only选项是您的朋友: -d, --download-only Download only; package fil ...
  • 我认为可以添加Run apt命令,尝试按照此链接 。 1.)检查您的系统架构 uname -i 1 uname -i 2.)然后从下面下载相应的.rpm文件 例如.... wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm 3.)安装RPMForge rpm -i rpmforge-release-0.5。 .rpm 1 rpm -i rpmforge-release-0.5。 的.rpm ...
  • 在Debian和Ubuntu上,CPAN( /usr/bin/cpan实用程序)默认将模块安装到/usr/local/lib/ 。 并且debian软件包将它们的文件保存在/usr/share/perl5/和/usr/lib/perl5/ 。 您也可以选择手动打包apt存储库中不可用的任何cpan发行版。 在dh-make-perl工具的帮助下很容易: dh-make-perl --cpan Some::Module && cd Some-Module* && sudo debi 另外检查一下local ...
  • Ubuntu 10.10于2012年4月停止支持。存储库可能不再由Canonical托管。 Ubuntu 10.10 ceased being supported April 2012. The repositories are likely not hosted by Canonical anymore.
  • 你可以使用这个: apt-cyg 就命令行参数而言,它就像apt-get一样,但你将使用apt-cyg 。 You can use this : apt-cyg It works just like apt-get in terms of command line arguments, but you will be using apt-cyg instead.
  • 这里的关键是防止多个包管理器安装到相同的目录中。 一种策略是创建一个知道其父解释器包的virtualenv 。 这可以通过使用--system-site-packages选项来完成。 virtualenv -p /usr/bin/python --system-site-packages py27 source py27/bin/activate 默认情况下,此环境不为空。 您可能想要比较/usr/bin/python -m pip list和python -m pip list 。 另见这个问题 对于许 ...
  • 无法从包脚本(preinst,postinst,prerm,postrm ......)中调用APT命令(apt-get,aptitude ..)。 启用这样会引发很多问题,尤其是对于程序包安装的依赖性和排序。 通过使用适当的包(pre)依赖关系或为用户提供易于使用的工具(如模块助手和其他工具),已经使用了各种解决方法。 在您的情况下,您的包可能与popularcontest冲突以卸载它。 此外,如果您的用户拥有“您的”包,则意味着他们已经在其sources.list中添加了一个条目,因此他们可以添加另一个 ...
  • 你正在做一个错误的假设 - apt-get(也不是aptitude)都不是自动运行的,Debian打包系统也不是真正为它设计的。 这就是为什么这些工具让它变得困难。 当软件升级因为您忘记更新配置文件而中断时会发生什么? 这在过去曾经发生在我身上(apache2),还有一些会导致严重后果阻止机器启动(mdadm)。 当软件引入不需要的依赖关系时会发生什么情况(例如,在服务器上引入整个X11窗口系统)? 等等...... 如果您担心自动安装安全升级,则需要查看无人参与升级软件包。 它将从安全档案中下载并安装软件 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)