Change the auto-updater and checkup startup scheduling.

This commit is contained in:
Jordan Petridis
2018-01-02 20:47:49 +02:00
parent 15b3eb115c
commit 2d71a99121
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -84,8 +84,10 @@ pub fn delete_local_content(ep: &mut EpisodeCleanerQuery) -> Result<()> {
/// Runs a cleaner for played Episode's that are pass the lifetime limit and
/// scheduled for removal.
pub fn checkup() -> Result<()> {
info!("Running database checks.");
download_checker()?;
played_cleaner()?;
info!("Checks completed.");
Ok(())
}