https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3935

--- Comment #4 from Lari Taskula <[email protected]> ---
Created attachment 135083
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135083&action=edit
Bug 3935: Add support for recurring scheduled tasks

Tools->Task scheduler lacked the ability to repeatedly execute tasks.

This patch adds such functionality.

It adds a new parameter "--recurring" to misc/cronjobs/runreport.pl

After runreport.pl is executed and if --recurring is provided, we will now
schedule a new task with the same parameters.

To test:
1. Navigate to Tools->Task scheduler
2. Observe there is nothing that allows you to repeatedly execute the task
3. Apply patch
4. Refresh Tools->Task scheduler page
5. Observe new field "Recurring every" ... "minutes/hours/days..."
6. Check current server time
7. Add current server time + 1 minute to "Time" field
8. Add "1 minutes" to "Recurring every" field
9. Select a saved report (if you don't have one, create a new one)
10. Add your email address to "Email"
11. Click "Save"
12. Observe new row at "Jobs already entered" section and note down given
    datetime
13. Wait one minute
14. Refresh Tools->Task scheduler page
15. Observe updated row at "Jobs already entered" section, it should now
    have datetime + 1 minute of what you observed at step 12

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to