hi, In our Indian osm server (http://openstreetmap.in) we upload the data to the database every day. Part of the process involves restarting the rendering engine - and deleting the tiles. There is no need to delete the tiles actually, because within 24 hours all caches expire and the new data will be served. Unfortunately some guy from Punjab will start yelling 'where is the well I marked in my village?'. So to be practical the tiles should be deleted so that the renderer will be forced to show the latest data. So I do:
cd /var/lib/mod_tile/default rm -rf * my problem is I want to cron this - but am terrified of putting 'rm -rf *' in a cron job - I do not want the server to get fried due to some mistake. So is there any 150% safe foolproof way of doing this? -- regards kg http://lawgon.livejournal.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
