Editing
Moodle Installation
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== method2 (not require the admin permission) ==== * download the [http://gnuwin32.sourceforge.net/packages/wget.htm wget for windows]<ref>[http://docs.moodle.org/23/en/Cron_with_Windows_OS Cron with Windows OS - MoodleDocs]</ref><ref>[http://www.rememberthemilk.com/forums/tips/4662/?hl=zh-TW Remember The Milk - Forums / Tips & Tricks / Automatic backup (Windows script)]</ref> * create the cron.bat as follows <pre>REM -- run Moodle cron job FOR /F "tokens=1-8 delims=/:. " %%J IN ("%date% %time%") DO SET timestamp=%%M-%%L-%%K_at_%%N.%%O.%%P wget http://path.to/cron.php -q -O Moodle_cron_%timestamp%.txt </pre> * add to the scheduled tasks (程式集 -> 附屬應用程式 -> 系統工具 -> 排定的工作) ** (optional) If you do not want to see the pop-up prompt window, you may need to install [http://www.ntwind.com/software/utilities/hstart.html hstart]. And add the following path to your scheduled tasks <pre>path/to/hstart.exe /NOCONSOLE /IDLE path/to/cron.bat </pre>
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information