Solved

can we run cron job locally

Posted on 2009-05-08
9
700 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
  • 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Creating and Managing Databases with phpMyAdmin in cPanel.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

773 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