In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001430 [In-Portal CMS] Admin Interfaces feature request N/A 2012-11-05 10:50 2012-11-05 10:50
Reporter alex View Status public Project Name In-Portal CMS
Assigned To Developer
Priority normal Resolution open Fixed in Version
Status active Product Version 5.2.0 Target Version 5.3.0
Time EstimateNo estimate
Summary 0001430: Scheduled task execution method detection
Description In-Portal has scheduled tasks section, where all actions that are performed automatically are specified.

There are 2 ways to invoke these actions:

* when somebody visits a page (default) - no way to ensure that scheduled task will be executed on time
* via cron - complete control and scheduled task protection

Setting for changing to cron invocation mode is located somewhere in "Configuration -> Website -> Advanced" page and I bet nobody goes specially and checks it.


I see several problems with it now:

* scheduled task invocation method selected by default isn't optimal
* if user enabled "Run Scheduled Tasks from Cron" setting and don't add proper line (we don't show exact line anywhere) to crontab, then nothing would work (but user could think it works)


I propose, that we:

1. write last time, when cron.php script was executed and it's execution method: web/cli;
2. on scheduled task page:
- ask user to enable scheduled task execution via cron (quick link, like with Change Logs section) if we know what cron is running;
- if cron isn't running, then show exact crontab line, that user must add to it;
- if cron is running, but it's interval is larger, then 1 minute (compare last recorded date with current execution date), then show warning, that it must be changed;
- show last cron execution date (right now I need to look at all scheduled tasks and find out which one was executed last);
- show relative scheduled task last/next run dates, e.g "5 min ago" or "in 10 hours", since it's easier to understand then comparing all scheduled task dates with current date (which even isn't shown on that page).
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/M-CRWY81IEs/discussion
Change Log Message Automates scheduled task configuration
Estimate Points 2
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-11-05 10:50 alex New Issue
2012-11-05 10:50 alex Reference => https://groups.google.com/d/topic/in-portal-dev/M-CRWY81IEs/discussion
2012-11-05 10:50 alex Change Log Message => Automates scheduled task configuration
2012-11-05 10:50 alex Estimate Points => 2



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker