'개발하는 남자'에 해당되는 글 122건

  1. 2009.01.09 cronExpress
  2. 2008.12.26 파이어폭스(firefox)에서의 새로고침 1
  3. 2008.12.15 아파치 1.3 + 톰캣 5.0 연동
  4. 2008.12.02 변액 유니버셜 보험 등등에 대해서
  5. 2008.11.19 ActiveX가 있는 페이지에서는 레이어 처리가 불가능하다.
  6. 2008.11.07 IETester
  7. 2008.11.06 [퍼온글] 가장 원했던 Ajax 기술들: 50개 이상의 예제와 자습서
  8. 2008.11.05 [Spring] org.springframework.scheduling.quartz.CronTriggerBean
  9. 2008.11.04 습관
  10. 2008.11.03 HTML에서 문서 형식(Doctype) 지정의 중요성 2

cronExpress

|

For those unfamiliar with "cron", this means being able to create a firing schedule such as: "At 8:00am every Monday through Friday" or "At 1:30am every last Friday of the month".

A "Cron-Expression" is a string comprised of 6 or 7 fields separated by white space. The 6 mandatory and 1 optional fields are as follows:

Field Name   Allowed Values   Allowed Special Characters
Seconds   0-59   , - * /
Minutes   0-59   , - * /
Hours   0-23   , - * /
Day-of-month   1-31   , - * ? / L W C
Month   1-12 or JAN-DEC   , - * /
Day-of-Week   1-7 or SUN-SAT   , - * ? / L C #
Year (Optional)   empty, 1970-2099   , - * /

The '*' character is used to specify all values. For example, "*" in the minute field means "every minute".

The '?' character is allowed for the day-of-month and day-of-week fields. It is used to specify 'no specific value'. This is useful when you need to specify something in one of the two fileds, but not the other. See the examples below for clarification.

The '-' character is used to specify ranges For example "10-12" in the hour field means "the hours 10, 11 and 12".

The ',' character is used to specify additional values. For example "MON,WED,FRI" in the day-of-week field means "the days Monday, Wednesday, and Friday".

The '/' character is used to specify increments. For example "0/15" in the seconds field means "the seconds 0, 15, 30, and 45". And "5/15" in the seconds field means "the seconds 5, 20, 35, and 50". You can also specify '/' after the '*' character - in this case '*' is equivalent to having '0' before the '/'.

The 'L' character is allowed for the day-of-month and day-of-week fields. This character is short-hand for "last", but it has different meaning in each of the two fields. For example, the value "L" in the day-of-month field means "the last day of the month" - day 31 for January, day 28 for February on non-leap years. If used in the day-of-week field by itself, it simply means "7" or "SAT". But if used in the day-of-week field after another value, it means "the last xxx day of the month" - for example "6L" means "the last friday of the month". When using the 'L' option, it is important not to specify lists, or ranges of values, as you'll get confusing results.

The 'W' character is allowed for the day-of-month field. This character is used to specify the weekday (Monday-Friday) nearest the given day. As an example, if you were to specify "15W" as the value for the day-of-month field, the meaning is: "the nearest weekday to the 15th of the month". So if the 15th is a Saturday, the trigger will fire on Friday the 14th. If the 15th is a Sunday, the trigger will fire on Monday the 16th. If the 15th is a Tuesday, then it will fire on Tuesday the 15th. However if you specify "1W" as the value for day-of-month, and the 1st is a Saturday, the trigger will fire on Monday the 3rd, as it will not 'jump' over the boundary of a month's days. The 'W' character can only be specified when the day-of-month is a single day, not a range or list of days.

The 'L' and 'W' characters can also be combined for the day-of-month expression to yield 'LW', which translates to "last weekday of the month".

The '#' character is allowed for the day-of-week field. This character is used to specify "the nth" XXX day of the month. For example, the value of "6#3" in the day-of-week field means the third Friday of the month (day 6 = Friday and "#3" = the 3rd one in the month). Other examples: "2#1" = the first Monday of the month and "4#5" = the fifth Wednesday of the month. Note that if you specify "#5" and there is not 5 of the given day-of-week in the month, then no firing will occur that month.

The 'C' character is allowed for the day-of-month and day-of-week fields. This character is short-hand for "calendar". This means values are calculated against the associated calendar, if any. If no calendar is associated, then it is equivalent to having an all-inclusive calendar. A value of "5C" in the day-of-month field means "the first day included by the calendar on or after the 5th". A value of "1C" in the day-of-week field means "the first day included by the calendar on or after sunday".

The legal characters and the names of months and days of the week are not case sensitive.

Here are some full examples:

Expression   Meaning
"0 0 12 * * ?"   Fire at 12pm (noon) every day
"0 15 10 ? * *"   Fire at 10:15am every day
"0 15 10 * * ?"   Fire at 10:15am every day
"0 15 10 * * ? *"   Fire at 10:15am every day
"0 15 10 * * ? 2005"   Fire at 10:15am every day during the year 2005
"0 * 14 * * ?"   Fire every minute starting at 2pm and ending at 2:59pm, every day
"0 0/5 14 * * ?"   Fire every 5 minutes starting at 2pm and ending at 2:55pm, every day
"0 0/5 14,18 * * ?"   Fire every 5 minutes starting at 2pm and ending at 2:55pm, AND fire every 5 minutes starting at 6pm and ending at 6:55pm, every day
"0 0-5 14 * * ?"   Fire every minute starting at 2pm and ending at 2:05pm, every day
"0 10,44 14 ? 3 WED"   Fire at 2:10pm and at 2:44pm every Wednesday in the month of March.
"0 15 10 ? * MON-FRI"   Fire at 10:15am every Monday, Tuesday, Wednesday, Thursday and Friday
"0 15 10 15 * ?"   Fire at 10:15am on the 15th day of every month
"0 15 10 L * ?"   Fire at 10:15am on the last day of every month
"0 15 10 ? * 6L"   Fire at 10:15am on the last Friday of every month
"0 15 10 ? * 6L"   Fire at 10:15am on the last Friday of every month
"0 15 10 ? * 6L 2002-2005"   Fire at 10:15am on every last friday of every month during the years 2002, 2003, 2004 and 2005
"0 15 10 ? * 6#3"   Fire at 10:15am on the third Friday of every month

Pay attention to the effects of '?' and '*' in the day-of-week and day-of-month fields! 

And

파이어폭스(firefox)에서의 새로고침

|
Firefox에서 새로 고침(Reload)을 할 수 있는 방법은 두 가지이다.

하나는 일반적인 새로 고침(단축키: Ctrl+R 또는 F5) 이고,

또 하나는 캐시를 무시한 완전히 새로 고침(단축키: Ctrl+Shift+R 또는 Ctrl+F5) 이다.

파폭으로 개발하다보면,

그냥 새로고침을 해도 수정한 내용이 반영되서 나오질 않아서 

코드에 문제가 있는건가.....라며 여러번 속게 된다 -_-;

새로고침을 Ctrl+F5로 하는 버릇을 들여야겠다.


And

아파치 1.3 + 톰캣 5.0 연동

|
http://wwww.okjsp.pe.kr/seq/29151

유의할점은..
아파치 설치시
# --enable-module=so 를 해줘야 한다.

안그러면, 아파치를 구동할때 에러가 난다.



또한, 톰캣이 깔려있는 
/home/유저명 디렉토리의 퍼미션이 711 이어야 한다는 점
# chmod 711 [디렉토리명] 으로 퍼미션을 수정해야 한다.

안그러면 페이지 접속시에 


요런 메시지가 뜬다.
And

변액 유니버셜 보험 등등에 대해서

|

오늘 좀 많이 알게 된 듯...

추가납입은 한도가 얼마까지인지,
사업비는 얼마나 되는지.
꽤나 중요한 사항이다.
보험사 마다 다르니까.
왠만하면 사업비가 저렴한 보험사를 택해야 한다.
(한도는 보험사마다 공식이 있는듯? 꽤나 큰금액이 나오므로 신경안써도 되겠지만..)

또... 가입금액에서 때는 사업비와 추가납입금액에서 때는 사업비가 다르다.
한달에 10만원씩 넣기로 가입금액을 정하고
추가납입으로 한달에 10만원씩 넣었을 경우애
가입금액에서 훨 더 많이 때간다.
그러므로 가입금액을 최저로 잡고
추가납입으로 납입해야 사업금을 덜 때인다.

그리고 참고해야할 사이트들..

http://pub.insure.or.kr:8091/iga/igcpa/goodscpa/InsureTypeDetail.jsp
각 보험사별 상품별 사업비비율을 알 수 있다.

http://www.klia.or.kr/ (생명보험협회)
상품비교등, 갖가지 정보를 알 수 있다.


또 하나.. 알게된 상식

보험사등에서 수수료를 때가는 방식이 두가지

정액선취 
내가 낸 돈에서 몇 %를 때간다(8%? 13%?)
보통 변액 보험에서 이런 식으로 하고 있고,
6-7년 정도 지나면 사업금을 거의 때지 않는다.

부정액 후취
적립식 펀드에서 하고 있덴다.
총액에서 몇 %를 때간다.
하지만 수수료의 퍼센테이지가 변액보험보다는 적다.(2-3%?)

오늘 이정도를 알게 되었다...
And

ActiveX가 있는 페이지에서는 레이어 처리가 불가능하다.

|
And

IETester

|
http://www.my-debugbar.com/wiki/IETester/HomePage

IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8 beta 2, IE7 IE 6 and IE5.5 on Vista and XP, as well as the installed IE in the same
And

[퍼온글] 가장 원했던 Ajax 기술들: 50개 이상의 예제와 자습서

|

=========================================

 

Noupe에서 '가장 원했던 Ajax 기술들: 50개 이상의 예제와 자습서'라는 글을 올렸습니다. Ajaxian에서도 다루었던 프로젝트들도 많지만, 새로운 것들도 있습니다. 한 자리에 모여있는 Ajax 기술들을 한번 주욱 살펴보시죠(위 링크로 들어가면 이미지도 포함되어 있습니다).

Ajax Forms

ShoutBox

Validate a Username AJAX

Ajax 메신저

Ajax 탭 컨텐트

Ajax 장바구니

Ajax 별점 매기기

Ajax 인라인 에디트

Ajax 프로그레스 바

Ajax 페이징

Ajax 파일 브라우저 & 관리자

Ajax 캘린더

Ajax 사진 관리

Ajax 이미지 갤러리와 슬라이드쇼

Ajax 파일 업로드

Ajax 자동완성

웹에디터

투표

테이블 데이터 관리

기타



from Groups of 50+ Ajax Examples
And

[Spring] org.springframework.scheduling.quartz.CronTriggerBean

|
And

습관

|
50분 일하고 10분 쉬자

50분은 일에만 집중하자

개발시 이슈는 히스토리로 기록하자
(스프링 노트로)

'작업노트 > Developer's Diary' 카테고리의 다른 글

면접을 보고 왔다..  (0) 2010.08.24
시작이란 추억.  (0) 2009.03.15
묻기, 확실히 하기  (0) 2008.09.19
팀 작업을 할때에...  (0) 2008.09.04
음...  (0) 2008.08.03
And

HTML에서 문서 형식(Doctype) 지정의 중요성

|

LiteBox를 구현하다가 뜻한 바대로 이루어지지 않아서,

알아본 결과

DOCTYPE 에 문제가 있었다.

http://blog.naver.com/ldbina/120054114821

나중에 읽어 봐야겠다.
And
prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | ··· | 13 | next