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
最满意答案
至少有这些
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 toapt-get
is your friend:-d, --download-only Download only; package files are only retrieved, not unpacked or installed. Configuration Item: APT::Get::Download-Only.
相关问答
更多-
当它已经安装在系统上时,用apt-get下载软件包(Downloading package with apt-get when it's already installed on system)[2022-10-18]
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 ... -
在使用Puppet安装其他软件包之前运行“apt-get update”(Run `apt-get update` before installing other packages with Puppet)[2024-01-28]
您需要指定依赖关系。 最简单/最简单的方法是使用可用于所有资源类型的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下载软件包而不安装它?(How do I download a package from apt-get without installing it? [closed])[2022-05-22]
至少有这些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 ... -
使用CloudFormer进行apt-get(apt-get with CloudFormer)[2023-07-02]
我认为可以添加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 ... -
用apt-get而不是cpan安装perl模块的目的(purpose of installing a perl module with apt-get instead of cpan)[2022-01-19]
在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-get不在Cygwin工作(apt-get not working in Cygwin)[2022-06-16]
你可以使用这个: 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窗口系统)? 等等...... 如果您担心自动安装安全升级,则需要查看无人参与升级软件包。 它将从安全档案中下载并安装软件 ...