Пример #1
0
def update_daily():
	CRON_SETTING = '0 1 * * *'
	update_cron(CRON_SETTING)
	git_pull()
	git_push()
	return render_template('updated.html')
Пример #2
0
def update_weekly():
	CRON_SETTING = '5 8 * * 0'
	update_cron(CRON_SETTING)
	git_pull()
	git_push()
	return render_template('updated.html')
Пример #3
0
def update_30min():
	CRON_SETTING = '*/30 * * * *'
	update_cron(CRON_SETTING)
	git_pull()
	git_push()
	return render_template('updated.html')