def update_daily(): CRON_SETTING = '0 1 * * *' update_cron(CRON_SETTING) git_pull() git_push() return render_template('updated.html')
def update_weekly(): CRON_SETTING = '5 8 * * 0' update_cron(CRON_SETTING) git_pull() git_push() return render_template('updated.html')
def update_30min(): CRON_SETTING = '*/30 * * * *' update_cron(CRON_SETTING) git_pull() git_push() return render_template('updated.html')