473,657 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

something like cron on Windows?



I have Windows XP professional. Is there ANYTHING reliable on Windows
that is like cron on UNIX that will allow you run something at regular
intervals, for example, like every 10 minutes?

I would like to change a (static/.html) web page every 10 minutes using
PHP, is there a way to do this? I have an Apache/PHP/MySql also, so
maybe theres a way to do it through these programs. Has any one done
this before? How?

AT will not do what I want, and SCHTASKS has a lot of bugs, and will not
allow me to run a program in the background.

-d

Jul 17 '05 #1
4 3043
AJ

"Doug" <do*****@earthl ink.net> wrote in message
news:sO******** *********@newsr ead3.news.atl.e arthlink.net...


I have Windows XP professional. Is there ANYTHING reliable on Windows
that is like cron on UNIX that will allow you run something at regular
intervals, for example, like every 10 minutes?

I would like to change a (static/.html) web page every 10 minutes using
PHP, is there a way to do this? I have an Apache/PHP/MySql also, so
maybe theres a way to do it through these programs. Has any one done
this before? How?


I'm assuming this is for a web site? The only 'frig' I've ever used when I
haven't had access to something like cron is to use some code on a page that
checks for the time and then runs some code if it's appropriate.

The only 'gotcha' is that you have to be running a site that has enough
visitors to do this.

Have you seen this? I just found it by doing a seach on Google for con
windows:

http://www.kalab.com/freeware/cron/cron.htm

Hope this helps

Andy
Jul 17 '05 #2
Doug <do*****@earthl ink.net> wrote in message news:<sO******* **********@news read3.news.atl. earthlink.net>. ..
I have Windows XP professional. Is there ANYTHING reliable on Windows
that is like cron on UNIX that will allow you run something at regular
intervals, for example, like every 10 minutes?


Take a look at nnCron LITE ( http://www.nncron.ru ):

-----
nnCron LITE is a small, but full-featured scheduler that can start
applications and open documents at a specified time or with specified
frequency. nnCron LITE is a perfect freeware Windows clone of a
well-known UNIX scheduler Cron (including all the useful Anacron
features).

Here are the most important features of nnCron LITE:
it can be started as a system service or as a regular standalone
application
it understands cron table format (Unix) and is managed with
easy-to-edit text crontab files that are fully compatible with Unix
crontabs
it can handle and restart so called missed tasks
it can set and use environment variables
it can run applications authorized as currently logged user
(WinNT/2000/XP)
it can be extended with plugins written in Forth language
it can be easy tuned up to answer your current needs
it is not resource demanding, and it can run even on very older PCs
without any noticeable performance degradation. (We have never seen
nnCron LITE service to allocate more than 150k of operative memory.)

nnCron LITE is FREE!
-----

HTH!
Jul 17 '05 #3
Am Mon, 26 Jul 2004 12:29:12 GMT schrieb Doug:
I have Windows XP professional. Is there ANYTHING reliable on Windows
that is like cron on UNIX that will allow you run something at regular
intervals, for example, like every 10 minutes?

I would like to change a (static/.html) web page every 10 minutes using
PHP, is there a way to do this? I have an Apache/PHP/MySql also, so
maybe theres a way to do it through these programs. Has any one done
this before? How?


Valery's suggestion (nnCRON) looks interesting.

But in case his solution doesn't do your job, what about this workaround:

Have a browser running on the same (or any other) system and let your
php-script output some page to the browser which has a meta-refresh tag of
10 minutes. So the browser reloads the page every 10 minutes and the skript
can do it's main job...

hth,
Frank
Jul 17 '05 #4
I recommend using the application VisualCron which is free. You can
find it here: http://www.visualcron.com

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
11250
by: deko | last post by:
Is there a way to get my script to run on regularly scheduled intervals without using cron? My hosting provider sucks... cannot use cron... I was thinking perhaps I could create a file every hour in a certain directory and then fire the script when the file count reaches a certain number, and then clear out the directory... or something like that. Any suggestions? Thanks in advance.
19
5814
by: Eric | last post by:
I'm trying to have some scripts run periodically on Windows XP and found the "Task Scheduler" did not execute my scripts. My scripts are of the form scriptName.py, and will run just by invoking that name in the Command Prompt. Has anyone used the Windows Task Scheduler to run .py scripts, and if so isthere some intracacy to it? Is there a more UNIX version of a cron program one can run on Windows? Has anyone written a simple cron...
3
3333
by: AR John | last post by:
Hi, Anybody could tell me how a mysql script could be run on mysql on some interval like cron facility in Linux system?. I am using Windows 2K machine. Actually I am developing a PHP application by which if any user logged in but idle for 10 minutes then the user will be forced logged out. To implement it I am saving timestamp of the user's login time on mysql database. The daemon/service script will identify this type logged
6
2668
by: sherryonline | last post by:
i have a page and i need that page to be called every day at 12:00 that page is going to connect to the database fetch some emails and will start mailing them how i am goning to do this.
6
1437
by: Andrew Banks | last post by:
When I've developed PHP sites before we've had a server facility called a CRON job to set a certain page to run at pre-defined periods (schedule it) Is there an equvalent for ASP.NET/IIS? I've got some scripts which I could do with running daily and wondered the best way to do this?
3
10303
by: the.natalie | last post by:
Hi. I am a newbie to mysql, cron, and shell scripting, so please bear with me. I have a script that is used for updating an image directory based on contents in a database. The script does the following: runs several queries against different tables in a database; returns several lists of pictures being used in the database; removes any obsolete images from specific directories. The script is bash shell script. The problem is that...
7
1921
by: Chopstick Head | last post by:
What, exactly, is a cron job? A PHP script that runs server side, nonstop?
1
2029
by: pankajit09 | last post by:
Hello, I want to fire query at a database and then email the result to a user . This I want to do everyday automatically. I thought to use cron for it. If there is any other better way please tell me ? If there is no other way then please tell me a cron software for windows and running a php script from it ?
0
3467
by: Cameron Simpson | last post by:
On 17Aug2008 21:25, John Nagle <nagle@animats.comwrote: Because $HOSTNAME is a bash specific variable, set by bash but NOT EXPORTED! Like $0 and a bunch of other "private" variables, subprocesses do not inherit this value. From "man bash": Shell Variables The following variables are set by the shell:
0
8420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.