Tuesday, August 18, 2009 at 7:35 PM.
photoFanSuite.background.everyHour
<<Changes <<1/20/08; 9:32:07 AM by DW <<Make sure errors can't prevent code updating (that's how we fix errors). <<12/3/07; 2:50:55 PM by DW <<Do nightly backup at the appointed hour, if enabled. <<12/2/07; 9:15:42 AM by DW <<Add call to archiver. <<11/30/07; 11:42:35 AM by DW <<Do the ping at the beginning instead of the end, and do it in a separate thread so nothing waits for it. <<11/30/07; 7:31:23 AM by DW <<Add call to ping. <<11/29/07; 10:10:56 AM by DW <<Synch contacts at least once an hour. <<11/25/07; 3:34:31 PM by DW <<Created. try { //make sure errors can't prevent code updating (that's how we fix errors) thread.callscript (@photoFanSuite.ping, {}); bundle { //nightly backup check if user.photoFan.prefs.backup.enabled { if date.hour () == user.photoFan.prefs.backup.hourToStart { thread.callscript (@photoFanSuite.backupFlickrPics, {})}}}; <<photoFanSuite.checkFeeds () photoFanSuite.synchFlickrContacts (); photoFanSuite.archiver ()}; photoFanSuite.updateEverything ()
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.