09 2012 档案

摘要:一个cron表达式有至少6个(也可能7个)有空格分隔的时间元素。按顺序依次为秒(0~59)分钟(0~59)小时(0~23)天(月)(0~31,但是你需要考虑你月的天数)月(0~11)天(星期)(1~7 1=SUN 或 SUN,MON,TUE,WED,THU,FRI,SAT)7.年份(1970-2099)其中每个元素可以是一个值(如6),一个连续区间(9-12),一个间隔时间(8-18/4)(/表示每隔4小时),一个列表(1,3,5),通配符。由于"月份中的日期"和"星期中的日期"这两个元素互斥的,必须要对其中一个设置?.0 0 10,14,16 * * 阅读全文
posted @ 2012-09-25 14:56 Rhythmk 阅读(350) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace MoreThread{ internal class Program { private static void Main(string[] args) { TestParallelFor t1 = new TestParallelFor(); t1.DoSomeThing(); ... 阅读全文
posted @ 2012-09-24 17:43 Rhythmk 阅读(173) 评论(0) 推荐(0) 编辑
摘要:public object Clone() { BinaryFormatter Formatter = new BinaryFormatter(null, new StreamingContext(StreamingContextStates.Clone)); MemoryStream stream = new MemoryStream(); Formatter.Serialize(stream, this); stream.Position = 0; object ... 阅读全文
posted @ 2012-09-22 14:02 Rhythmk 阅读(170) 评论(0) 推荐(0) 编辑

Rhythmk 个人笔记
点击右上角即可分享
微信分享提示