Solved

can we run cron job locally

Posted on 2009-05-08
9
702 Views
Last Modified: 2012-06-21
Hi,

I am using php and mysql...am executing my files using xampp.

is it possible for me to run a cron job locally toperform specific action at particular time once in a month.? if so can anyone provide me with a detailed steps on how to proceed
0
Comment
Question by:whspider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 10

Expert Comment

by:bob_the_builder
ID: 24335325
This might be useful?

http://www.webmasters-central.com/t/cron.shtml

Cheers,

Bob...
0
 
LVL 7

Expert Comment

by:ycTIN
ID: 24335953
0
 

Author Comment

by:whspider
ID: 24336021
i want to runa cron job using xampp
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 7

Expert Comment

by:ycTIN
ID: 24336072
xampp no cron job function

if your xampp is installed in windows, see this
http://grafikdesign.wordpress.com/2009/02/23/crontab-cronjob-on-windows-xampp/
0
 
LVL 10

Expert Comment

by:bob_the_builder
ID: 24336100
0
 

Author Comment

by:whspider
ID: 24336112
i tried that link but it says could not start when it reaches the time to execute

C:\Program Files\xampp\php\php.exe c:\Program Files\xampp\htdocs\billing2\billing.php
0
 

Author Comment

by:whspider
ID: 24336155
i gave the following under run
C:\Program Files\xampp\php\php.exe c:\Program Files\xampp\htdocs\billing2\billing.php

there was an option start in i left it blank

0
 
LVL 7

Accepted Solution

by:
ycTIN earned 500 total points
ID: 24336187
"C:\Program Files\xampp\php\php.exe" "c:\Program Files\xampp\htdocs\billing2\billing.php"
0
 

Author Comment

by:whspider
ID: 24336291
thank you its executing.....

now i can do a normal coding in the billing.php right or i have to code any anything in addition..

in my case i want to move some rows from a table to another table
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question