开发者

can i configure cron job for localhost

it's a one line question and i don't know how to de开发者_StackOverflowscribe it

mysystem config:-

os: windows Xp
server : Wamp server (latest)

is this posible ?


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


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜