- Modifies cron router/UI to display proper status message when WP task

scheduler is configured and cron is not running
- Updates sending queue worker and related components to stop (delete)
  cron when all processing is done
This commit is contained in:
Vlad
2016-07-19 09:02:58 -04:00
parent 5ed0a5819c
commit a438f13bb0
6 changed files with 65 additions and 13 deletions

View File

@ -6,9 +6,11 @@
<% block translations %>
<%= localize({
'daemonNotRunning': __('Daemon is not running'),
'wordpressTaskSchedulerEnabled': __('Daemon is not running because WordPress task scheduler is enabled and there are no scheduled or in-progress jobs'),
'daemonControlError': __('Cron daemon error'),
'loadingDaemonStatus': __('Loading daemon status...'),
'cronDaemonIsRunning': __('Cron daemon is running.'),
'cronDaemonIsRunning': __('Cron daemon is running'),
'stop': __('Stop'),
'start': __('Start'),
'cronDaemonState': __('Cron is %$1s')