/    Sign up×
Community /Pin to ProfileBookmark

Data Sweep and Cron job

Hey guys,

I need a script to run every hour or so to do a data sweep, collecting and processing data from the last hour of activity.

Can anyone help me with how I would go about setting up a cron job to do this, or point me to a location that could?

Let say my script is called d_sweep.php

Thx

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@chazzyMar 23.2006 — what, a crontab tutorial?

http://how-to.dnswatch.com/

and click on crontab...
Copy linkTweet thisAlerts:
@NogDogMar 23.2006 — Also note that for cron to directly run a PHP script, PHP will need to be installed with the CLI (command line interface) enabled - which is not the typical install mode.
×

Success!

Help @CrazyMerlin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...