From bd06f5ae091e005d68adff124d05bb0f8d767373 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 25 Apr 2007 20:38:01 +0000 Subject: [PATCH] David 25 Apr 2007 - fixes #126 - generate cronjob file in make_project tools/ make_project svn path=/trunk/boinc/; revision=12480 --- checkin_notes | 6 ++++++ tools/make_project | 13 +++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index f0c84123fc..c38c423ad3 100755 --- a/checkin_notes +++ b/checkin_notes @@ -3997,3 +3997,9 @@ David 25 Apr 2007 client/ work_fetch.C + +David 25 Apr 2007 + - fixes #126 - generate cronjob file in make_project + + tools/ + make_project diff --git a/tools/make_project b/tools/make_project index 364000ecec..ce1477385e 100755 --- a/tools/make_project +++ b/tools/make_project @@ -299,6 +299,14 @@ print >>open(httpd_conf_template_filename,'w'), ''' ''' %locals() +cronjob_filename = os.path.join( + options.project_root, + project_shortname+'.cronjob' + ) +print >>open(cronjob_filename,'w'), ''' +0,5,10,15,20,25,30,35,40,45,50,55 * * * * %(proot)s/bin/start --cron +''' %locals() + print '''Done installing files. Steps to complete installation: @@ -310,11 +318,12 @@ Steps to complete installation: (path to httpd.conf varies) 2. Add to crontab (as %(USER)s) - (If cron cannot run "start", try using a helper script to set PATH and - PYTHONPATH) 0,5,10,15,20,25,30,35,40,45,50,55 * * * * %(proot)s/bin/start --cron + (If cron cannot run "start", try using a helper script to set PATH and + PYTHONPATH) + 3. The project is configured with a test application. To install this application (recommended) run: cd %(proot)s