티클러 2025. 7. 2. 10:11

홈페이지 : http://sourceforge.net/projects/dqsoftware

 

Tclcron은 이벤트 루프를 사용하는 크론과 유사한 Tcl로 만들어진 확장 패키지입니다. 지정된 날짜 및/또는 시간에 작업을 실행하도록 스케줄링할 수 있습니다. 주로 장기 실행 애플리케이션에서 사용하기 위한 것입니다.

 

Tclcron is pure Tcl cron-like package using event loop. It enables scheduling jobs to be run at a specified date and/or time. It is mostly intented for use in long-running applications.

Main features are:

  • easy to use and install
  • uses [clock scan] for most jobs - entering any date/time is very easy
  • modular construction - can be expanded to handle more modes in future
  • small
  • pure Tcl

The package includes documentation, a simple example and test suite.

EXAMPLE:

set tick [tclcron::schedule {
    puts "Tick"
} every 1 second]

tclcron::schedule {
    tclcron::unschedule $tick
} once 30 seconds

tclcron::schedule {
    exit
} once 40 seconds

tclcron-1.0.zip
0.01MB