how to send multiple commands to a file in cron??
- by developer
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!!