mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Add scheduler test.
This commit is contained in:
parent
9679ef80c8
commit
d41702bc51
@ -7,7 +7,7 @@ import json
|
||||
|
||||
@scheduler.route('/')
|
||||
@login_required
|
||||
def schedule():
|
||||
def scheduler():
|
||||
job = {
|
||||
'creator': current_user.id,
|
||||
'files': ['file_1', 'file_2', 'file_3'],
|
||||
@ -18,4 +18,4 @@ def schedule():
|
||||
}
|
||||
job = background_scheduler.add_job(print, trigger='date', args=[job])
|
||||
print(job)
|
||||
return 'job'
|
||||
return render_template('scheduler/index.html.j2', title='Scheduler')
|
||||
|
7
app/templates/scheduler/index.html.j2
Normal file
7
app/templates/scheduler/index.html.j2
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends "base.html.j2" %}
|
||||
|
||||
{% block page_content %}
|
||||
<div class="col s12">
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user