Wow, so cron is involved. That first post was so confusing. Anyway…
Nah – that’s only if it has * for the minute param. Cron doesn’t have an option for “run command every x minutes”; it’s a pattern-matching thing. The minutes field as written will only match once an hour at x:01. If you want every 5 minutes, for instance, you have to write something like:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * commandI’ll concur with netdcon about the fix, though… make sure you upload the file as text. Or paste it into an editor on the server itself. I’m a vi guy, so that would go like this (don’t type the spaces between commands, or the brackets around key names):
i [paste] [Esc] :wq
Also if you just type crontab -e that’ll take you directly into editing your crontab (so when you save it will be installed automatically) – I’m not sure which editor by default (I think I remember setting my default editor to vi…).
When you do get it installed, you may start getting errors out of cron (these will be emailed to you automatically) – for one, cron executes commands starting in your home directory, so unless you put a slash in front of that php path it will try to execute /home/cozyskin/usr/local/bin/php (which is probably not what you want, unless you compiled your own php to that location!).
You can check that the path to send_emails.php is correct by trying to change into that directory, and if that works, listing the files: