Socket
Socket
Sign inDemoInstall

advanced-scheduler

Package Overview
Dependencies
170
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    advanced-scheduler

CLI to interact with the Advanced Scheduler Heroku Add-on


Version published
Weekly downloads
11
decreased by-26.67%
Maintainers
1
Install size
20.9 MB
Created
Weekly downloads
 

Readme

Source

Advanced Scheduler CLI

Heroku CLI plugin to interact with the Advanced Scheduler Heroku Add-on. The Advanced Scheduler Command Line Interface (CLI) extends the Service API and makes it easy for you to create and manage your triggers directly from the terminal.

Advanced Scheduler is the next standard in task scheduling on Heroku applications. Get more flexibility, out-of-the-box monitoring, greater reliability and unparalleled ease of use on top of the well-known Heroku Scheduler experience. Learn more here.

oclif Version Downloads/week License

Installation

$ heroku plugins:install advanced-scheduler

Usage

$ npm install -g advanced-scheduler
$ heroku COMMAND
running command...
$ heroku (-v|--version|version)
advanced-scheduler/2.2.13 darwin-arm64 node-v14.21.1
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku triggers...

List the Advanced Scheduler triggers for an app

USAGE
  $ heroku triggers...

OPTIONS
  -a, --app=app  (required) app to run command against
  -h, --help     show CLI help
  -j, --json     output triggers in json format

EXAMPLE
  $ heroku triggers -a example

See code: src/commands/triggers.ts

heroku triggers:activate <uuid>...

Activate an Advanced Scheduler trigger for an app

USAGE
  $ heroku triggers:activate <uuid>...

ARGUMENTS
  UUID  uuid of the Advanced Scheduler trigger

OPTIONS
  -a, --app=app  (required) app to run command against
  -f, --force
  -h, --help     show CLI help

See code: src/commands/triggers/activate.ts

heroku triggers:create...

Create a new Advanced Scheduler trigger for an app

USAGE
  $ heroku triggers:create...

OPTIONS
  -a, --app=app
      (required) app to run command against

  -h, --help
      show CLI help

  --dyno=Free|Eco|Hobby|Basic|Standard-1X|Standartd-2X|Performance-M|Performance-L|Private-S|Private-M|Private-L
      (required) dyno for task execution

  --frequencyType=recurring|one-off
      (required) frequency of trigger execution

  --name=name
      (required) name of trigger

  --schedule=schedule
      (required) schedule of trigger execution

  --state=active|inactive
      [default: active] state of trigger

  --timeout=timeout
      [default: 1800] timeout of task execution

  --timezone=timezone
      [default: UTC] timezone of trigger

  --value=value
      (required) command of trigger

EXAMPLES
  $ heroku triggers:create -a example --name "Trigger created via CLI" --frequencyType recurring  --schedule "* * * * *" 
  --value "npm run something" --dyno Free
  $ heroku triggers:create -a example --name "Trigger created via CLI" --frequencyType one-off  --schedule "2025-12-25 
  00:00:00" --value "npm run something" --dyno Free

See code: src/commands/triggers/create.ts

heroku triggers:deactivate <uuid>...

Deactivate an Advanced Scheduler trigger for an app

USAGE
  $ heroku triggers:deactivate <uuid>...

ARGUMENTS
  UUID  uuid of the Advanced Scheduler trigger

OPTIONS
  -a, --app=app  (required) app to run command against
  -f, --force
  -h, --help     show CLI help

See code: src/commands/triggers/deactivate.ts

heroku triggers:delete <uuid>...

Permanently delete an Advanced Scheduler trigger for an app

USAGE
  $ heroku triggers:delete <uuid>...

ARGUMENTS
  UUID  uuid of the Advanced Scheduler trigger

OPTIONS
  -a, --app=app  (required) app to run command against
  -h, --help     show CLI help

EXAMPLE
  $ heroku triggers:delete 01234567-89ab-cdef-0123-456789abcdef -a example

See code: src/commands/triggers/delete.ts

heroku triggers:update <uuid>...

Update an Advanced Scheduler trigger for an app

USAGE
  $ heroku triggers:update <uuid>...

ARGUMENTS
  UUID  uuid of the Advanced Scheduler trigger

OPTIONS
  -a, --app=app
      (required) app to run command against

  -h, --help
      show CLI help

  --dyno=Free|Eco|Hobby|Basic|Standard-1X|Standartd-2X|Performance-M|Performance-L|Private-S|Private-M|Private-L
      dyno for task execution

  --frequencyType=recurring|one-off
      frequency of trigger execution

  --name=name
      name of trigger

  --schedule=schedule
      schedule of trigger execution

  --state=active|inactive
      state of trigger

  --timeout=timeout
      timeout of task execution

  --timezone=timezone
      timezone of trigger

  --value=value
      command of trigger

EXAMPLES
  $ heroku triggers:update 01234567-89ab-cdef-0123-456789abcdef -a example --name "Trigger updated via CLI" 
  --frequencyType recurring  --schedule "* * * * *" --value "npm run something-else" --dyno Free
  $ heroku triggers:update 01234567-89ab-cdef-0123-456789abcdef -a example --name "Trigger updated via CLI" 
  --frequencyType one-off  --schedule "2025-12-25 00:00:00" --value "npm run something-else" --dyno Free

See code: src/commands/triggers/update.ts

Keywords

FAQs

Last updated on 05 Dec 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc