# retick

> Redis based task scheduler.

Latest version **0.1.1** (published 2017-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install retick
pnpm add retick
yarn add retick
bun add retick
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-03-20 |
| First published | 2017-03-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | evanx |

## Links

- npm: https://www.npmjs.com/package/retick
- Repository: https://github.com/evanx/retick
- Homepage: https://github.com/evanx/retick#readme
- Issues: https://github.com/evanx/retick/issues
- npm.io page: https://npm.io/package/retick

## Dependencies (2)

- [cli-color](https://npm.io/package/cli-color.md) ^1.2.0
- [redis-app](https://npm.io/package/redis-app.md) ^0.13.6

## Recent versions

- 0.1.1 (latest) — 2017-03-20

## README

# retick

Redis based task scheduler.

<!--img src='https://raw.githubusercontent.com/evanx/retick/master/docs/readme/images/main.png'-->


## Installation

## Config

See `lib/spec.js` https://github.com/evanx/retick/blob/master/lib/spec.js
```javascript
```

## Implementation

See `lib/main.js` https://github.com/evanx/retick/blob/master/lib/main.js
```javascript
```

### Application archetype

Uses application archetype: https://github.com/evanx/redis-app

See `lib/index.js` https://github.com/evanx/retick/blob/master/lib/index.js
```javascript
require('redis-app')(
    require('../package'),
    require('./spec'),
    async deps => Object.assign(global, deps),
    () => require('./main')
).catch(err => {
    console.error(err);
});
```
where the `config` is extracted from the `spec` defaults and `process.env` overrides. We choose to set `config` et al on `global` before `main` is invoked.


## Docker

See `Dockerfile` https://github.com/evanx/retick/blob/master/Dockerfile
```
FROM mhart/alpine-node:latest
ADD package.json .
RUN npm install --silent
ADD lib lib
ENV NODE_ENV production
CMD ["node", "--harmony", "lib/index.js"]
```

We can build as follows:
```shell
docker build -t retick https://github.com/evanx/retick.git
```
where tagged as image `retick`

<hr>

https://twitter.com/@evanxsummers

---
_Source: https://npm.io/package/retick · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
