Linux的计划任务分为两类:1,一次性执行:常用命令:at,batch,依赖于atd服务2,周期性执行:常用命令:crontab,依赖于crond服务一次性任务执行:用法:#atTIME
at>/bin/sync输入需要执行的命令或脚本
at>“Ctrl+d”输入Cry+d提交任务TIME:的几种格式#atnow+3min相对..
分类:
系统相关 时间:
2014-09-04 03:05:48
阅读次数:
282
//摘自ocjp
public void testIfA() {
if (testIfB("True")) {
System.out.println("True");
} else {
System.out.println("Not true");
}
}
public Boolean testIfB(String str) {
return Boolean.valueOf(s...
分类:
编程语言 时间:
2014-09-04 00:16:27
阅读次数:
246
3、 为单用户引导加上密码 在“/etc/lilo.conf”文件中加入三个参数:time-out,restricted,password。这三个参数可以使你的系统在启动lilo时就要求密码验证。a): 编辑lilo.conf文件(vi /etc/lilo.conf),假如或改变这三个参数:boo....
分类:
系统相关 时间:
2014-09-04 00:03:37
阅读次数:
251
create or replace procedure QIANFEIGL_JIAOKUANDY(cebenh varchar2, kehuh varchar2, hetongh varchar2, v_cur out query_pkg.Query_cur)isSQLSTR VARCHAR2(30...
分类:
数据库 时间:
2014-09-03 23:53:47
阅读次数:
332
转义符表This all of the escape sequences Ruby supports. You may not use many of these, but memorize their format and what they do anyway. Try them out in ...
分类:
其他好文 时间:
2014-09-03 22:37:17
阅读次数:
222
17.39#include#include#include#includeusing namespace std;int main(){ fstream inOut("copyOut",fstream::ate|fstream::in|fstream::out); if(!inOut) ...
分类:
其他好文 时间:
2014-09-03 19:38:37
阅读次数:
198
首先在Eclipse中显示LogCat选项卡,如果没有的话可以使用下面的方法显示:单击Eclipse的菜单“Window”-->ShowView-->点击“LogCat”,如果ShowView里没有找到的话可以选择“Other”:图1在“Android”目录下有LogCat,选中LogCat后点击下方的“OK”按钮,即可在Eclipse下..
分类:
系统相关 时间:
2014-09-03 18:28:27
阅读次数:
442
先生成ssl证书openssl genrsa -out key.pem 2048openssl req -new -x509 -key key.pem -out cert.pem -days 1095然后,大概这样package mainimport ( "log" "net/http"...
分类:
其他好文 时间:
2014-09-03 16:39:46
阅读次数:
177
Go to File > Settings > Gradle you will end up with this screen for setting up your gradle :Also make sure you have Google Repository in your Android ...
分类:
其他好文 时间:
2014-09-03 16:22:26
阅读次数:
238
publicclasstest1{ publicstaticvoidmain(String[]args){SimpleDateFormatdf=newSimpleDateFormat("yyyy-MM-dd");//设置日期格式System.out.println(df.format(newDate()));//输出当前时间Calendarc=Calendar.getInstance();//设置日期格式System.out.println(c.getTime());//..
分类:
编程语言 时间:
2014-09-03 13:19:47
阅读次数:
163