
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/team4yf/go-scheduler
A Job scheduler.
it's build with yf-fpm-server
, base the postgresql/mysql, send http request accroding to the defined CRON.
GET /biz/job/list
fetch all job list.
GET /biz/job/execute?code={code}
run once by the specific job code.
POST /biz/job/add
create a job.
POST /biz/job/update
update the job, basiclly use it to define the job's status. auto start or not.
GET /biz/job/remove?code={code}
remove the job. it can not be restart.
GET /biz/job/get?code={code}
get the job detail.
GET /biz/job/pause?code={code}
pause the job, it can be restart.
GET /biz/job/tasks?code={code}&skip={skip}&limit={limit}
get the tasks of the job.
defined the config.*.yaml
mode: debug
addr: ':8080'
name: go-scheduler
cron:
store: db
db:
engine: postgres
user: devuser
password: DevPass123
host: localhost
port: 5432
database: devdb
charset: utf8
showsql: true
define the enviroment GS_DEPLOY_MODE=PROD
it will load the config file conf/config.prod.yaml
,
config.local.yaml
for default.
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.