Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/megaads-vn/mega-schedule

Scheduler service to send HTTP request
https://github.com/megaads-vn/mega-schedule

Last synced: 10 days ago
JSON representation

Scheduler service to send HTTP request

Awesome Lists containing this project

README

        

# mega-schedule
scheduler for MegaAds
##Usage
Example config in schedule.js
```javascript
module.exports = [
{rule: '1 * * * * *', url: 'http://my-website/service/product/suggestions'},
{rule: '2 * * * * *', url: 'http://my-website/service/crm/cron-tickets'},
{rule: '3 * * * * *', url: 'http://my-website/service/inoutput/cron-delivery-time-shipping'},
{rule: '4 * * * * *', url: 'http://my-website/service/forecast/buildreport'},
{rule: '5 * * * * *', url: 'http://my-website/service/inoutput/cron-delivery'},
{rule: '* /2 * * * *', url: 'http://my-website/service/forecast/cronReport'}
];
```