Make datasync save the time of the last run.

This way, it can make smart decisions about what to sync even
when something disrupts the regularity of the cron job.