question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Any function available to know the status of a cron job running?

See original GitHub issue

Just like task.stop(); Does it have any function to know the status of the job whether ‘started’ or ‘stopped’ or ‘running’ ? task.getStatus()

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
merenciacommented, Sep 10, 2018

done at #103

0reactions
DeadcatDevcommented, Jan 12, 2019

@merencia can You give us some examples of checking this? I saw that You added promises, so this kind of docs will be very helpfull 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Check if a Cron Job has Run (Crontab Log)
You can see any crons running on the server by checking /var/spool/cron for the given user. And you will see the active crons...
Read more >
How to view a cron job running currently? - Stack Overflow
start with a timestamp which is the start time. When the job finishes, the file /path/cron.end will have the timestamp when the cron...
Read more >
How to verify crond daemon and cron jobs are running on Linux
Explains how to check cron jobs are running or not by checking the log file and verify crond daemon status itself under various...
Read more >
How to List, Display, & View all Current Cron Jobs in Linux
In this guide, learn how to view current cron jobs and display all running cron jobs. Including Listing hourly, daily, weekly and monthly....
Read more >
How to Check if a Cron Job Is Running - YouTube
In this video, you will learn how to check if a cron job is running. This is a good first step when troubleshooting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found