SimpleSyndicate/cron.py

10 lines
205 B
Python
Raw Normal View History

2018-10-21 01:03:14 -04:00
#!/usr/bin/env python3
"""
Script to be called by cron to update all feeds periodically.
Ex. 0 * * * * python3 /path/to/cron.py
"""
import database
if __name__ == "__main__":
database.update_all_feeds()