
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
github.com/ouqiang/gocron
使用Go语言开发的轻量级定时任务集中调度和管理系统, 用于替代Linux-crontab 查看文档
原有的延时任务拆分为独立项目延迟队列
在任务节点上执行shell命令, 支持任务同时在多个节点上运行
访问指定的URL地址, 由调度器直接执行, 不依赖任务节点
Windows、Linux、Mac OS
MySQL
cd 解压目录
gocron.exe web
./gocron web
gocron-node.exe
./gocron-node
go get -d github.com/ouqiang/gocron
export GO111MODULE=on
make
./bin/gocron web
./bin/gocron-node
docker run --name gocron --link mysql:db -p 5920:5920 -d ouqg/gocron
配置: /app/conf/app.ini
日志: /app/log/cron.log
镜像不包含gocron-node, gocron-node需要和具体业务一起构建
make install-vue
make run
make run-vue
, 访问地址 http://localhost:8080访问http://localhost:8080, API请求会转发给gocron
make
编译
make run
编译并运行
make package
打包
生成当前系统的压缩包 gocron-v1.5-darwin-amd64.tar.gz gocron-node-v1.5-darwin-amd64.tar.gz
make package-all
生成Windows、Linux、Mac的压缩包
gocron
gocron web
gocron-node
提交issue
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.