Skip to content

Commit

Permalink
chore: bump to 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwencool committed Oct 27, 2022
1 parent bbdc633 commit b37d936
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions src/ecron.app.src
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"}]}
]}.

0 comments on commit b37d936

Please sign in to comment.