-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbdc633
commit b37d936
Showing
1 changed file
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
{application, ecron, | ||
[{description, "cron-like/crontab job scheduling library"}, | ||
{vsn, "0.6.0"}, | ||
{registered, [ecron_sup, ecron_local, ecron_monitor]}, | ||
{mod, {ecron_app, []}}, | ||
{applications, [kernel, stdlib, telemetry]}, | ||
{env, [ | ||
{adjusting_time_second, 604800}, %7*24*3600 | ||
{time_zone, local}, %% local or utc | ||
{global_quorum_size, 1}, %% A majority of the nodes must connect. | ||
{local_jobs, [ | ||
%% {JobName, CrontabSpec, {M, F, A}} | ||
%% {JobName, CrontabSpec, {M, F, A}, StartTime, EndTime} | ||
%% CrontabSpec | ||
%% 1. "Minute Hour DayOfMonth Month DayOfWeek" | ||
%% 2. "Second Minute Hour DayOfMonth Month DayOfWeek" | ||
%% 3. @yearly | @annually | @monthly | @weekly | @daily | @midnight | @hourly | ||
%% 4. @every 1h2m3s | ||
%% {crontab_job, "*/15 * * * *", {io, format, ["Runs on 0, 15, 30, 45 minutes~n"]}}, | ||
%% {extend_crontab_job, "0 0 1-6/2,18 * * *", {io, format, ["Runs on 1,3,6,18 o'clock:~n"]}}, | ||
%% {alphabet_job, "@hourly", {io, format, ["Runs every(0-23) o'clock~n"]}}, | ||
%% {fixed_interval_job, "@every 30m", {io, format, ["Runs every 30 minutes"]}}, | ||
%% Runs every 15 minutes between {8,20,0} and {23, 59, 59}. | ||
%% {limit_time_job, "*/15 * * * *", {io, format, ["Runs 0, 15, 30, 45 minutes after 8:20am~n"]}, {8,20,0}, unlimited} | ||
]}, | ||
{global_jobs, [ | ||
%% {global_job, "*/15 * * * * *", {io, format, ["Runs on 0, 15, 30, 45 seconds~n"]}} | ||
]} | ||
]}, | ||
{modules, []}, | ||
{licenses, ["Apache 2.0"]}, | ||
{links, [{"Github", "https://github.com/zhongwencool/ecron"}]} | ||
]}. | ||
{application, ecron, | ||
[{description, "cron-like/crontab job scheduling library"}, | ||
{vsn, "0.6.1"}, | ||
{registered, [ecron_sup, ecron_local, ecron_monitor]}, | ||
{mod, {ecron_app, []}}, | ||
{applications, [kernel, stdlib, telemetry]}, | ||
{env, [ | ||
{adjusting_time_second, 604800}, %7*24*3600 | ||
{time_zone, local}, %% local or utc | ||
{global_quorum_size, 1}, %% A majority of the nodes must connect. | ||
{local_jobs, [ | ||
%% {JobName, CrontabSpec, {M, F, A}} | ||
%% {JobName, CrontabSpec, {M, F, A}, StartTime, EndTime} | ||
%% CrontabSpec | ||
%% 1. "Minute Hour DayOfMonth Month DayOfWeek" | ||
%% 2. "Second Minute Hour DayOfMonth Month DayOfWeek" | ||
%% 3. @yearly | @annually | @monthly | @weekly | @daily | @midnight | @hourly | ||
%% 4. @every 1h2m3s | ||
%% {crontab_job, "*/15 * * * *", {io, format, ["Runs on 0, 15, 30, 45 minutes~n"]}}, | ||
%% {extend_crontab_job, "0 0 1-6/2,18 * * *", {io, format, ["Runs on 1,3,6,18 o'clock:~n"]}}, | ||
%% {alphabet_job, "@hourly", {io, format, ["Runs every(0-23) o'clock~n"]}}, | ||
%% {fixed_interval_job, "@every 30m", {io, format, ["Runs every 30 minutes"]}}, | ||
%% Runs every 15 minutes between {8,20,0} and {23, 59, 59}. | ||
%% {limit_time_job, "*/15 * * * *", {io, format, ["Runs 0, 15, 30, 45 minutes after 8:20am~n"]}, {8,20,0}, unlimited} | ||
]}, | ||
{global_jobs, [ | ||
%% {global_job, "*/15 * * * * *", {io, format, ["Runs on 0, 15, 30, 45 seconds~n"]}} | ||
]} | ||
]}, | ||
{modules, []}, | ||
{licenses, ["Apache 2.0"]}, | ||
{links, [{"Github", "https://github.com/zhongwencool/ecron"}]} | ||
]}. |