Re: [leaf-devel] Re: adding a new menu

2006-02-14 Thread KP Kirchdoerfer
Am Dienstag, 14. Februar 2006 19:48 schrieb Mike Noyes:
 On Tue, 2006-02-14 at 10:27, KP Kirchdoerfer wrote:

 I apologize again for the delay in attending to this issue. :-(

Well, I've been on vacation for about ten days - so you've been in time. 

  Did you made external links visible while testing? No pb, just want to
  know :)

 Yes. I hope that isn't a problem.

As I said, it isn't  - I just have been surprised that the pages get a life on 
their own...

  The news announcements I've made are not part of the main page any more.
  I thought it is cause you have to run daily.sh - but in the meantime you
  did  - and news are still old on the main page.

 I have to run a different script for that. I'll try to take care of that
 today.

We really need a solution for the missing cron on SF - it's disabled for 
nearly two years, and I'm afraid they won't fix the next two years, if ever.

 Note: the two problems mentioned above are corrected in the new
 phpwebsite release. I need to upgrade our installation on SF.

ok.

kp


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] Re: adding a new menu

2006-02-14 Thread David Douthitt

KP Kirchdoerfer wrote:
We really need a solution for the missing cron on SF - it's disabled for 
nearly two years, and I'm afraid they won't fix the next two years, if ever.


Any possibility of compiling a version of cron and leaving it running in 
user mode?  What about something like fcron?




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] Re: adding a new menu

2006-02-14 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Noyes wrote:

 I need to fix it so it's robust enough for the new SF requirements.
 Locking has me a bit confused, and I'll need to read how to add that to
 daily.sh. I'll attempt to address these issues when I work on our
 documentation build process.

If the lockfile utility is available on the SF servers (highly likely,
but I didn't check), it's pretty easy:

code
#!/bin/sh

LOCKFILE=leafcron.lock

# Get the lockfile if we can, don't retry if we can't
lockfile -r 0 $LOCKFILE

# Test to see if we have the lockfile
if [ $? -ne 0 ] ; then
  echo Couldn't get lockfile!
  exit 1
fi

echo Got lock file: $LOCKFILE
# Do more stuff here...

# Done with everything...remove lockfile
rm -f $LOCKFILE
/code

If lockfile isn't available, you can do mostly the same thing using
touch and checking for the prior existence of a file, but it's not as
graceful as lockfile, particularly when it comes to atomically checking
for and creating the lock (shouldn't exactly be a problem for a cron job
though, but it is an issue for multiple process access to mailbox files,
which is why lockfile exists in the first place).

Holler if you need help with the above, or any other scripting chores.

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD8mXhLywbqEHdNFwRAnTXAJ9pj9H6Ea8XI/4vVyfK1SIK9q96rgCcC4GQ
nZ/EwESoj01Lgwac3+n4CZo=
=YZDw
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel