Skip to content

Commit 0ab6667

Browse files
committed
commenting; +Readme
1 parent abb176a commit 0ab6667

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
Golang Cron expression parser
1+
Cron expression parser ( cli )
22
=============================
33
Given a cron expression and a time stamp, you can get the next time stamp which satisfies the cron expression.
4-
5-
In another project, I decided to use cron expression syntax to encode scheduling information. Thus this standalone library to parse and apply time stamps to cron expressions.
6-
7-
The time-matching algorithm in this implementation is efficient, it avoids as much as possible to guess the next matching time stamp, a common technique seen in a number of implementations out there.
8-
9-
There is also a companion command-line utility to evaluate cron time expressions: <https://github.com/gorhill/cronexpr/tree/master/cronexpr> (which of course uses this library).
4+
It is based on the standalone Go library https://github.com/gorhill/cronexpr.
105

116
Implementation
127
--------------

cronexpr.go

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*!
2+
* Copyright 2015 Jan Guth
3+
*
4+
* Project: github.com/fentas/cronexpr
5+
* File: cronexpr.go
6+
* Version: 0.1.0
7+
* License: AGPLv3 see <https://www.gnu.org/licenses/agpl-3.0.html>
8+
*
9+
*/
110
package main
211

312
import (

0 commit comments

Comments
 (0)