On Mar 9, 8:22 am, Iceberg <iceb...@21cn.com> wrote: > 1. In the crontab file, usually we write > #0-59/1 * * * * root > /path/to/some/executable_file > But I found that, on Windows platform, "/" are not recognized as a > path separater, but a command line switch prefix. Not what we want. So > it would better that crontab file can use "/" as path separater on > both Linux and Windows, perhaps more other platforms.
Mixed emotions on this one. Obviously it would be good if we could keep syntax regardless of platform, but I'm afraid making such conversions can actually result in problems if someone *really* wants/ needs to use "/" (say, dir /s \dir\to\list > c:\temp\file). Switching separators can be very tricky when it comes to shell execution. > 2. It is said that, writing a stand alone script file to access the > application's sqlite db, is impossible due to the sqlite lock issue. > So I decide to move all the real cron jobs into web2py's controller > file, let the crontab only serves as a general trigger. Here is what I > did. I discovered a race condition that might occur in some softcron setups (and can also result in lock issues), Massimo put my patch in trunk 3-4 days ago, please try that out first. As for the address, what's your web server setup ? Just plain web2py (and on what port), do you have apache/IIS in the mix, too ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---