source: subversion/sites/tile.openstreetmap.org/render_some_tiles.rb @ 4078

Last change on this file since 4078 was 2029, checked in by steve, 13 years ago

add hack tile stuff

  • Property svn:executable set to *
File size: 350 bytes
Line 
1#!/usr/bin/ruby
2
3# exit if the lockfile is there
4
5lockfile = '/tmp/tilegen_running'
6
7if File.file?(lockfile)
8  $stderr << 'exiting, lock file present'
9  exit!
10else
11  #otherwise make one
12  File.open(lockfile, 'w') do |file|
13    file << 'eh-oh'
14  end
15end
16
17
18puts `/home/steve/get_tiles_to_render.rb | /home/steve/render_from_list.py`
19
20
21`rm #{lockfile}`
Note: See TracBrowser for help on using the repository browser.