项目需求要做一个定时扫表,将按条件查询到的数据插入或者更新到另一个数据表的需求,老大要求让用window service来做 因为以前没有做过,把这次的经历写出来.作为备忘. 1.什么是windows服务 以下部分内容来自http://www.cnblogs.com/salomon/archive/2012/05/21/2511643.html Windows服务,微软的官方定义是这样的:Microsoft Windows 服务(即以前的 NT 服务)使您能够创建在它们自己的 Windows 会…
这两天遇到Windows 10的更新问题,官方有一个小工具,可以用来修复Windows Update的问题,备忘如下 https://support.microsoft.com/en-us/kb/971058 To automatically reset Windows Update components, run the appropriate Windows Update diagnostic, and then follow the on-screen instruction. Windo…
开场白:这里简单记录一些常用的bash命令,一则备忘,二来希望可以帮助别人解决一些问题. 1.检测文件是否存在 if [ -f ./foo.txt ] then echo the file exists fi 2. 检测目录是否存在 if [ -d ./test1 ] then echo the directory exists fi 3. 让高亮功能一直存在 androidyue@ubuntu:~/Desktop$ ls | grep s --color=always | more 4.使用c…