def cron_check_video(request): cronjob = CronJob() status = cronjob.check_videos() return render_to_response('dummy_cronjob_page.html')
def data_updater(request, website_name): cronjob = CronJob() cronjob.get_latest_video_details(website_name) return render_to_response('dummy_cronjob_page.html')
def delete_old_videos(request): cronjob = CronJob() cronjob.delete_old_videos() return render_to_response('dummy_cronjob_page.html')