Skip to content
This repository

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 JavaWorker101, added queue,schedule options
Octocat-spinner-32 enqueue.js NodeWorker101
Octocat-spinner-32 worker101.js
Octocat-spinner-32 worker101.worker NodeWorker101

Worker 101

This covers most of the core concepts of using IronWorker including loading third party dependencies.

  1. Be sure you've setup your credentials, see main
  2. Run iron_worker upload worker101 to upload the worker code package to IronWorker.
  3. Queue up a task:
    1. From command line: iron_worker queue NodeWorker101 --payload '{"query":"xbox"}' --priority 2 --timeout 60
    2. Run node enqueue.js to queue up a task. Edit enqueue.js to change the Twitter query (don't forget to change token and project_id).
  4. Look at HUD to view your tasks running, check logs, etc.
  5. Schedule a task:
    1. From command line: iron_worker schedule NodeWorker101 --payload '{"query":"heyaa"}' --delay 5 --timeout 60 --start-at "12:30" --run-times 5 --run-every 70
Something went wrong with that request. Please try again.