Gowri
Gowri

Reputation: 16845

can i configure cron job for localhost

it's a one line question and i don't know how to describe it

mysystem config:-

os: windows Xp
server : Wamp server (latest)

is this posible ?

Upvotes: 4

Views: 9234

Answers (3)

Layi
Layi

Reputation: 21

Yes you can,

simply go to task scheduler in windows

create a new task 1. in the actions tab, navigate to the exe file of any web browser you have installed on your system 2. in the arguments textbox, type the url to the script you wish to execute (e.g. localhost/mysite/cron.php).

This should start the browser automatically and run your php file

Upvotes: 2

sarnold
sarnold

Reputation: 104080

Windows does have the at scheduler, which is pretty easy to use. Not as nice as cron for scheduling repeating tasks, last I looked at it, but it was easy.

Windows 7 has a scheduled tasks framework. It might be able to do what you need. It seemed pretty complicated to me, but it might be perfect.

Upvotes: 0

Michiel Pater
Michiel Pater

Reputation: 23053

Cron is a time-based job scheduler in Unix-like computer operating systems. Which means you can not configure it on Windows.

Upvotes: 3

Related Questions