tags:

views:

16

answers:

0

Just when I thought I was understanding cron jobs, I realize I'm still not understanding. I'm trying to set up a cron job through Dreamhost to ping a URL once an hour. This URL when visited performs a small(ish) query and updates the database.

A few examples I've tried which haven't seemed to of worked:

wget -O /dev/null http://www.domain.com/index.php?ACT=25&profile_id=1

and

wget -q http://www.domain.com/index.php?ACT=25&profile_id=1

The correct domain was inserted into the URL of course.

So, what am I missing? How could I execute a URL via a Cronjob?