We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to cron configuration on localhost | Forum

Andrei
Andrei Mar 30 '13
Hi!

Im a windows 7 user and I try to install Oxwall on localhost, using xampp, and I can't pass the step.

I tried to run on cmd, cd E:/xampp/htdocs/ow_cron ( this is the path in my pc ), and then run pwd command, but I get this error: pwd' is not recognized as an internal or external command.


so, my xampp path is E:\xampp

path for php,in xampp, is E:\xampp\php

How can I pass the crong config. step?

what should I write in run.php?this doesnt work.

E:/xampp/php E:/xampp/htdocs/ow_cron/run.php


Mario Carriere
Mario Carriere Mar 30 '13
Hi,

This is my setup with Windows XP

I have created a batch file in the root of my C: drive --> cron.bat

That file contain the following lines:

C:\xampp\php\php.exe C:\xampp\htdocs\index.php
C:\xampp\php\php.exe C:\xampp\htdocs\oxwall-1.4.1\ow_cron\run.php
C:\xampp\php\php.exe C:\xampp\htdocs\my_site.com\ow_cron

Change "my_site.com" for your test site name...

And the I have created a schedule task who is activating the batch file once a hour... An interval of 1 minute between cron triggering is recommend for online site but to develop locally, once a hour is find for me...

Hope this help!

Mario
The Forum post is edited by Mario Carriere Mar 30 '13
Andrei
Andrei Mar 31 '13
Ok, thanks, but how to do a schedule task?
Mario Carriere
Mario Carriere Mar 31 '13
Hi,

Don't know if we are allowed to post link...

hxxp://windows.microsoft.com/en-in/windows7/schedule-a-task

replace xx by tt

Mario
Andrei
Andrei Mar 31 '13

Thanks so much for help!

solved,can be closed.

Mario Carriere
Mario Carriere Mar 31 '13
My pleasure Andrei!

Glad I could help...

Have fun!

Mario
Rahul verma
Rahul verma Apr 4 '13
Quote from Mario Carriere Hi,

This is my setup with Windows XP

I have created a batch file in the root of my C: drive --> cron.bat

That file contain the following lines:

C:\xampp\php\php.exe C:\xampp\htdocs\index.php
C:\xampp\php\php.exe C:\xampp\htdocs\oxwall-1.4.1\ow_cron\run.php
C:\xampp\php\php.exe C:\xampp\htdocs\my_site.com\ow_cron

Change "my_site.com" for your test site name...

And the I have created a schedule task who is activating the batch file once a hour... An interval of 1 minute between cron triggering is recommend for online site but to develop locally, once a hour is find for me...

Hope this help!

Mario

i was thinking how would i test my modifications before making my website bugy , i had lot of ideas but couldn't find out how to test them ,

i will try it today


thanks in advance Mario


admin please don't remove this topic


James Walter
James Walter Jan 2
Whether you’re having issues with your turbocharger, fuel injectors, or particulate filter, our team of experienced technicians has the knowledge and expertise to get your Diesel engine running like new again. Livermore Concrete Solutions
Post Minder
Post Minder Jul 24
Drug detox centers in Atlanta provide medically supervised detoxification services to help individuals safely withdraw from substances. Drug Detox Atlanta