how to send multiple commands to a file in cron??
Posted
by developer
on Stack Overflow
See other posts from Stack Overflow
or by developer
Published on 2010-05-26T06:53:20Z
Indexed on
2010/05/26
7:01 UTC
Read the original article
Hit count: 215
I have a file that is having some multiple dynamic parameters.I want to send these parameters at the time of writing a file in main cron file. Something like this ->
*/15 * * * * /usr/bin/php /a/b/c.php parameter1 parameter2 parameter3 parameter4
Now i tried working this up but my file is not executing. What im concerned about is that how will my php file will fetch these parameters ?? And how will i write this command when there is only 2 parameters to be passes parameter1 and parameter4??? and how will my cron and php will recognoze that which parameter is for which data and all?? please advice!!
© Stack Overflow or respective owner