~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to src/Core/Main.vala

  • Committer: Tony George
  • Date: 2017-01-26 08:19:58 UTC
  • Revision ID: tony.george.kol@gmail.com-20170126081958-zp5n5c6r3ach25sj
Fixed: Hourly task was not created correctly; Schedule Window: Updated messages to avoid confusion;

Show diffs side-by-side

added added

removed removed

Lines of Context:
3826
3826
                }
3827
3827
 
3828
3828
                if (scheduled){
3829
 
                        CronTab.add_script_file("timeshift-hourly", "hourly", "timeshift --check", stop_cron_emails);
 
3829
                        //others
 
3830
                        CronTab.remove_script_file("timeshift-hourly", "hourly");
 
3831
                        CronTab.add_script_file("timeshift-hourly", "d", "0 * * * * root timeshift --check", stop_cron_emails);
 
3832
                        
 
3833
                        //boot
3830
3834
                        if (schedule_boot){
3831
3835
                                CronTab.add_script_file("timeshift-boot", "d", "@reboot root sleep 10m && timeshift --create --tags B", stop_cron_emails);
3832
3836
                        }