c a g a t a y

Registered
Oct 12, 2011
2
0
51
cPanel Access Level
Website Owner
Hi all
I wanna try to run a auto e-mail member for birthday,
I have a mode manuelly installed and it is running seamlessly
When I put below URL to the browser and hit to ENTER it runs and send e-mail to the members (controlled)

www.mysite.com/forum/index.php?action=birthday

this URL running;

What I want to do is that;
I wanna run a CronJob daily at 08:00 which launchs this URL

There is no problem with scheduling
But I tear my hair what is the correct command?

wget -q http://www.mysite.com/index.php?action=birthday
php http://www.mysite.com/index.php?action=birthday
lynx
http://www.mysite.com/index.php?action=birthday

Any idea?
Regards
 

ModServ

Well-Known Member
Oct 17, 2006
337
5
168
Egypt
cPanel Access Level
Root Administrator
I guess it will be like that:

PHP:
0 8 * * * php -q /home/USERNAME/public_html/forum/index.php?action=birthday
The only thing that worries me about if it will work or not is "action=birthday" but let's keep out fingers crossed :rolleyes:
 

c a g a t a y

Registered
Oct 12, 2011
2
0
51
cPanel Access Level
Website Owner
here is my Cron command

/http://img268.imageshack.us/img268/9774/cron.jpg

"No input file specified." error returned via mail :mad:

By the way;
My URL "http://www.mysite.com/forum/index.php?action=dogumgunu" works and sends email to the members (who have birthday)
It works seamlessly...It runs a script