Page MenuHomeIn-Portal Phabricator

INP-1435 - Add Console command for running Scheduled Tasks
ClosedPublic

Authored by alex on May 15 2015, 1:36 PM.

Details

Test Plan
  1. confirm, that there is no Run button in ConfigurationScheduled Tasks section
  2. run in-portal command
  3. confirm, that scheduled-task:run command is listed
  4. take a screenshot of grid on ConfigurationScheduled Tasks section
  5. run in-portal scheduled-task:run check_submission_repies command
  6. confirm, that last run time changed in the section for that scheduled task
  7. run in-portal scheduled-task:run command
  8. confirm, that last run time changed in the section for all enabled scheduled tasks
  9. type in-portal scheduled-task:run (note space at the end) and press TAB twice
  10. confirm, that names of enabled scheduled tasks are displayed
  11. run the in-portal scheduled-task:run X command, where X is name of disabled scheduled task
  12. confirm, that exception happens
  13. run the in-portal scheduled-task:run X command, where X is name of non-existing scheduled task
  14. confirm, that exception happens
  15. open /tools/cron.php url from the browser
  16. confirm, that error about non-CLI execution is shown
  17. run php tools/cron.php
  18. confirm, that last run time changed in the section for all enabled scheduled tasks

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 188.May 15 2015, 1:36 PM
alex retitled this revision from to INP-1435 - Add Console command for running Scheduled Tasks.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1435.
glebs accepted this revision.May 18 2015, 3:23 PM
glebs edited edge metadata.
This revision is now accepted and ready to land.May 18 2015, 3:23 PM
This revision was automatically updated to reflect the committed changes.