Comments (2)
Closing this task, because we can't trace async operations. So if you are using async task - it's all on you to handle execution flow.
from sails-hook-cron.
For those of you looking for an answer to this. I was able to get this working by .stop()
ing the cron task immediately in the onTick
function and then .start()
ing it back up when I know the process is finished. Not perfect, but worked for my implementation.
from sails-hook-cron.
Related Issues (20)
- Cron syntax (schedule field) HOT 2
- start: true doesn't start job HOT 3
- Cron (month) issue HOT 1
- Non working example HOT 3
- Since today "npm i sails-hook-cron" installs an empty folder HOT 10
- How to run cron on multiple servers? HOT 1
- Cron running for every second HOT 3
- Cron scheduled dosen't run at all HOT 1
- Cron run twice or more based on the time the cron is saved HOT 2
- how to pass parram to onTick function HOT 1
- How to pass arguments in jobs and how to receive it? HOT 1
- cron jobs not running on digitalocean server. HOT 1
- Global Sails variable not avaliable within the onTick function HOT 1
- TypeError: Cannot read property 'ok', 'send' of undefined HOT 1
- How to schedule a cron for every one hour? HOT 2
- sails.config.environment HOT 3
- local.js = bad instructions HOT 5
- contexr HOT 2
- Multi-server HOT 3
- How can I enable/disable the cron service? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sails-hook-cron.