wp cron event run needs to output the time and date when a cron job is run
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start with the wp cron event run command and locate the code that emits the "Executed..." message. Run the command before and after the change; done when the message includes the cron job's execution date and time without losing its existing details.
Written by the indexing model from the issue text.
Description
Feature Request
- Yes, I reviewed the contribution guidelines.
If a cron job is run when I execute "wp cron event run", then the output is something like this for the cron job "cronjob_name":
Executed the cron event 'cronjob_name' in 0.002s.
There is a very obvious missing piece of information here - the time and date the cron job ran! When you have a regular running cron job that fails once, but succeeds at all other times, knowing the time/date it failed is very useful forensic evidence.
Please add the time and date to that "Executed..." cron job message.
- Dominant language
- PHP
- Stars
- 32
- Forks
- 28
- Avg merge
- 13m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Sylius/SyliusGridBundle#501 ·