You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup this plugin as described. I've set the Heroku API Key as environment config variable (and double checked that).
Then:
$ heroku buildpacks:add crazyantlabs/heroku-buildpack-cli-plugin-cron -a example-app
Then I deployed. What's strange is that heroku cron displayed a usage message while running the buildpack, couldn't find out whether this is normal or an indicator that something went wrong:
== Heroku CLI installation done
Installing plugin heroku-cron... yarn add v1.22.0
Installing plugin heroku-cron... info No lockfile found.Installing plugin heroku-cron... [1/4] Resolving packages...Installing plugin heroku-cron... [2/4] Fetching packages...Installing plugin heroku-cron... [3/4] Linking dependencies...Installing plugin heroku-cron... [4/4] Building fresh packages...Installing plugin heroku-cron... success Saved lockfile.Installing plugin heroku-cron... success Saved 162 new dependencies.Installing plugin heroku-cron... info Direct dependenciesInstalling plugin heroku-cron... └─ [email protected] plugin heroku-cron... info All dependenciesInstalling plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... ├─ [email protected] plugin heroku-cron... └─ [email protected] plugin heroku-cron... Done in 10.31s.Installing plugin heroku-cron... installed v1.0.6
warning heroku-cron > @heroku-cli/command > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
get information about Cron To Go
USAGE
$ heroku cron
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--json return the results as JSON
DESCRIPTION
Read more about this feature at https://devcenter.heroku.com/articles/crontogo
EXAMPLES
$ heroku cron -a your-app
$ heroku cron --app your-app --json
COMMANDS
cron:jobs list jobs on Cron To Go
=== Heroku CLI plugin for Cron To Go installation done
However, after that:
$ heroku run -a example-app 'heroku cron'
› Warning: cron is not a heroku command.
Heroku Stack is heroku-20. Any idea what went wrong?
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to setup this plugin as described. I've set the Heroku API Key as environment config variable (and double checked that).
Then:
Then I deployed. What's strange is that heroku cron displayed a usage message while running the buildpack, couldn't find out whether this is normal or an indicator that something went wrong:
However, after that:
$ heroku run -a example-app 'heroku cron' › Warning: cron is not a heroku command.
Heroku Stack is heroku-20. Any idea what went wrong?
The text was updated successfully, but these errors were encountered: