Changes between Version 24 and Version 25 of DetailedInstall
- Timestamp:
- Mar 19, 2008, 6:46:18 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DetailedInstall
v24 v25 265 265 266 266 6. If you made the previous steps correctly, the next step will guide you through the setting cron jobs. 267 To set up cron jobs, use one of the following ways: 268 1. Using CPanel: 269 1. Click the Cron Jobs link under your CPanel account and choose Advanced (Linux Style) 270 2. Indicate the email address for collecting information about cron execution 271 3. Return to the Dolphin installation page and copy the first command to be run as cron (omitting the zeros and asterisks), for example: 267 To set up cron jobs, use one of the following ways:[[BR]] 268 269 '''For UNIX:''' 270 271 1. Using CPanel: 272 1. Click the Cron Jobs link under your CPanel account and choose Advanced (Linux Style) 273 2. Indicate the email address for collecting information about cron execution 274 3. Return to the Dolphin installation page and copy the first command to be run as cron (omitting the zeros and asterisks), for example: 272 275 {{{ 273 276 /usr/local/bin/php -q m:/home/localhost/www/d5605/periodic/cmd.php 274 277 }}} 275 276 278 and insert it into the first field of your CPanel cron jobs management page 279 schedule the time for this job, which also can be fetched from the Dolphin installation page, such as: 277 280 {{{ 278 281 0 0 * * * (which means: run the script every midnight) 279 282 }}} 280 281 283 4. Apply the changes and click Back to return to the Cron Management page 284 5. Do the same for the second cron script: 282 285 {{{ 283 286 /usr/local/bin/php -q m:/home/localhost/www/d5605/periodic/notifies.php 284 287 }}} 285 288 and schedule the time for it: 286 289 {{{ 287 290 */10 * * * * (which means: run the script every 10 minutes) 288 291 }}} 289 290 292 2. Using shell (for experienced users): 293 run the following command 291 294 {{{ 292 295 crontab -e 293 296 }}} 294 297 This will open your default text editor, where you will have to insert the three lines of code to be executed: 295 298 {{{ 296 299 MAILTO=myemail@mysite.com … … 303 306 '''Hint: The above lines serve as an example. The actual Cron Job commands are generated by the script at 6th step of the installation process. And you can easily copy&paste them into the "crontab" file.''' 304 307 308 309 '''For WINDOWS:''' 310 311 1) create batch files for every cron you wish to create. For example:[[BR]] 312 ''c:\wamp\www\periodic\cmd.bat''[[BR]] 313 ''c:\wamp\www\periodic\notifies.bat''[[BR]] 314 ''c:\wamp\www\periodic\tags.bat'' 315 316 This are sample contents of the above mentioned files: 317 318 '''''c:\wamp\www\periodic\cmd.bat''''': 319 {{{ 320 c:\wamp\php\php.exe -f c:\wamp\www\periodic\tags.php 321 }}} 322 323 '''''c:\wamp\www\periodic\notifies.bat''''': 324 {{{ 325 c:\wamp\php\php.exe -f c:\wamp\www\periodic\notifies.php 326 }}} 327 328 '''''c:\wamp\www\periodic\tags.bat''''': 329 {{{ 330 c:\wamp\php\php.exe -f c:\wamp\www\periodic\tags.php 331 }}} 332 333 2) then assign crons for these files this way: 334 {{{ 335 schtasks /Create /tn task_name /sc DAILY /st 00:00:00 /tr c:\wamp\www\periodic\cmd.bat (to run every day at midnight) 336 schtasks /Create /tn task_name /sc MINUTE /mo 10 /tr c:\wamp\www\periodic\notifies.bat (to run every 10 minutes) 337 schtasks /Create /tn task_name /sc MINUTE /mo 10 /tr c:\wamp\www\periodic\tags.bat (to run every 10 minutes) 338 }}} 339 340 305 341 === Permission Reversal === 306 342 … … 328 364 329 365 '''NOTE: Do not forget to install [http://www.boonex.net/ray/wiki/RayServerInstall Ray Media Server (RMS)] on your server or use [http://www.boonex.com/products/bms/ BoonEx Media Server] to run Ray fully operational'''. 330