Difference between revisions of "Installing Drupal on 4.0-Mona"

Jump to navigation Jump to search
no edit summary
 
Line 225: Line 225:
</pre>
</pre>
Hence every time you start the servers using '''Server_Start.bat''' or '''disk_start.vbs''' Cron will run.
Hence every time you start the servers using '''Server_Start.bat''' or '''disk_start.vbs''' Cron will run.
'''''[[#top | Top]]'''''
=== stop_cron.bat ===
When you stop the servers, you'd also want to stop the unidelay process. The file temp.txt is used to break the loop. After killing unidelay.exe the file content is checked; if a value other than "run" is found it breaks the loop in run_cron.bat.
UniServer\'''stop_cron.bat'''
<pre>
rem ## update temp file to stop
(set /p dummy=stop) >temp.txt <nul
rem ## kill off cron
udrive\home\admin\program\pskill.exe unidelay.exe c
exit
</pre>
Alternatively, the two lines in stop_cron.bat can be placed in Stop.bat; add them just below line ''':END'''.
'''''Related links'':'''
[[Portable Cron  | Portable Cron]]
[[LCC-win32: Drupal Cron | LCC portable cron program]]


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
7

edits

Navigation menu