Question
.Hi !
I have been trying to set up the mail notofy functionality for my installation.
in the twiki documentation it says that you cab use "scheduled tasks" for this. has anybody tried this out ?
please help.
regards
Pran
- TWiki version:Dec 2001
- Web server:Apache 1.3.27
- Server OS:W2K professional
- Web browser: IE 5.5
- Client OS: W2K Professional
--
TWikiGuest - 02 Dec 2002
Answer
I tried using Kalab.com's cron, but it tended to crash. You should be able to use Scheduled Tasks in Windows 2000, but be sure to wrap up the relevant TWiki commands in a batch file (or .cmd file, which runs in Win32 mode under
cmd.exe). An example is to put this in
c:\bin\stats.cmd and then run
c:\bin\stats.cmd from scheduled tasks. Not tested since I deleted my old .cmd file, but should work and is likely to avoid problems.
c:\cygwin\bin\sh -c "cd /twiki/bin; ./statistics >/twiki/stats.log 2>&1"
Hope this helps!
--
RichardDonkin - 03 Dec 2002
Hi Richard !
thanx a lot for your timely help. It really works!!!
thanx a ton again,
Pran