Date: Mon, 30 Jan 2023 13:05:20 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 27b0b8f06913 - main - devel/rubygem-sidekiq-cron18: Add rubygem-sidekiq-cron18 1.8.0 (copied from rubygem-sidekiq-cron) Message-ID: <202301301305.30UD5Kjp052031@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=27b0b8f0691394a3679e4437126368ddab7740a1 commit 27b0b8f0691394a3679e4437126368ddab7740a1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-01-30 12:21:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-01-30 12:58:56 +0000 devel/rubygem-sidekiq-cron18: Add rubygem-sidekiq-cron18 1.8.0 (copied from rubygem-sidekiq-cron) - Add PORTSCOUT --- devel/Makefile | 1 + devel/rubygem-sidekiq-cron18/Makefile | 23 +++++++++++++++++++++++ devel/rubygem-sidekiq-cron18/distinfo | 3 +++ devel/rubygem-sidekiq-cron18/pkg-descr | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index ca1f8afd47fd..80357e375fa2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7084,6 +7084,7 @@ SUBDIR += rubygem-sidekiq-bulk SUBDIR += rubygem-sidekiq-cron SUBDIR += rubygem-sidekiq-cron-sidekiq64 + SUBDIR += rubygem-sidekiq-cron18 SUBDIR += rubygem-sidekiq-scheduler SUBDIR += rubygem-sidekiq-unique-jobs SUBDIR += rubygem-sidekiq6 diff --git a/devel/rubygem-sidekiq-cron18/Makefile b/devel/rubygem-sidekiq-cron18/Makefile new file mode 100644 index 000000000000..bde5d05883eb --- /dev/null +++ b/devel/rubygem-sidekiq-cron18/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sidekiq-cron +PORTVERSION= 1.8.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 18 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Enables to set jobs to be run in specified time (using CRON notation) +WWW= https://github.com/ondrejbartas/sidekiq-cron + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-fugit>=1<2:devel/rubygem-fugit \ + rubygem-sidekiq>=4.2.1:devel/rubygem-sidekiq + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^1\.8\. + +.include <bsd.port.mk> diff --git a/devel/rubygem-sidekiq-cron18/distinfo b/devel/rubygem-sidekiq-cron18/distinfo new file mode 100644 index 000000000000..4fff2d062b21 --- /dev/null +++ b/devel/rubygem-sidekiq-cron18/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665073206 +SHA256 (rubygem/sidekiq-cron-1.8.0.gem) = 47da72ca73ce5b71896aaf7e7c4391386ec517dd003f184c50c0b727d82eb0ca +SIZE (rubygem/sidekiq-cron-1.8.0.gem) = 30208 diff --git a/devel/rubygem-sidekiq-cron18/pkg-descr b/devel/rubygem-sidekiq-cron18/pkg-descr new file mode 100644 index 000000000000..1763659ffead --- /dev/null +++ b/devel/rubygem-sidekiq-cron18/pkg-descr @@ -0,0 +1,9 @@ +Sidekiq-Cron is a scheduling add-on for Sidekiq. + +It runs a thread alongside Sidekiq workers to schedule jobs at specified times +(using cron notation * * * * * parsed by Rufus-Scheduler). + +It also checks for new jobs to schedule every 10 seconds and doesn't schedule +the same job multiple times when more than one Sidekiq worker is running. + +Scheduling jobs are added only when at least one Sidekiq process is running.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301301305.30UD5Kjp052031>