Create a gist now

Instantly share code, notes, and snippets.

ActionHero Example Task: Say Hi
exports.task = {
name: 'sayHi',
description: 'I will log to the console every so often',
frequency: 5 * 1000,
queue: 'default',
plugins: [],
pluginOptions: {},
run: function(api, params, next){
api.log("Hello!", "alert");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment