not a php but cron jobs, need help
Hello, i'm trying to set cron jobs properly for me, but i have some troubles.
What i'm have:
When i use this command all work okay, this is only path to file:
But i need to use file with GET request i want that in set time cron will open a file.php?get=query some think like that
/usr/bin/php -q /home/username/public_html/file_name.php
I found that command but it work extremely wrong (when it work i get an email from cron with error but error doesn't write, all i get is message contains only "?" and few "@" letters), my tech support said me that i had error in my code( but i test my code and it work fine without cron), so i need your help. What is wrong in my command?
/usr/bin/php -q /usr/bin/wget "http://domain.com/file.php?my_get=blablabla"
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread