Skip to content

Commit

Permalink
Version rc, readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorJTClarke committed Feb 3, 2022
1 parent 5cae1a4 commit 88821ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Commands:
croncat unregister <account_id> Account to remove from list of active agents.
croncat withdraw [account_id] Withdraw all rewards earned for this account
croncat status [account_id] Check agent status and balance for this account
croncat tasks Check how many tasks are currently available
croncat tasks Check tasks list
croncat triggers Check how many triggers are currently available
croncat go [account_id] Run tasks that are available, if agent is registered and has balance
croncat daemon [near_env] Generate a network specific croncat daemon service
```
Expand Down Expand Up @@ -80,6 +81,7 @@ You can then configure the following:
NODE_ENV=production
NEAR_ENV=mainnet
LOG_LEVEL=info
BETA_FEATURES=false
# The account registered as an agent
AGENT_ACCOUNT_ID=YOUR_ACCOUNT.near
Expand All @@ -93,6 +95,10 @@ AGENT_AUTO_RE_REGISTER=false
# The interval to wait between checking for tasks. Good intervals are below 60 seconds and above 10 seconds.
WAIT_INTERVAL_MS=450000
# Period between checking triggers, needs to be less than 10 seconds to be effective
# Period will need to be consistent with RPC rate limits to ensure query goes through
TRIGGER_INTERVAL_MS=10000
## Notify slack when events happen
SLACK_TOKEN=YOUR_WEBHOOK_TOKEN
SLACK_CHANNEL=general
Expand Down Expand Up @@ -162,6 +168,7 @@ Examples:
```
node bin/croncat tasks
node bin/croncat triggers
node bin/croncat register agent.in.testnet agent.in.testnet
node bin/croncat status agent.in.testnet
node bin/croncat go agent.in.testnet
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "croncat",
"version": "1.7.0",
"version": "1.7.0-rc1",
"description": "cron.cat CLI and Agent Runner",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit 88821ad

Please sign in to comment.