Hi, I need to run a cron job.
I have a php file which creates a pdf, this works fine.
But I have over 1000 pdfs I need to generate so would prefer to use a cron job rather than create 1000 manually (ie click on the button 1000 times).
I have the following page which when clicked creates the pdf
pdfgen.php?ref=$ref
eg pdfgen.php?ref=4044
pdfgen.php?ref=444
The page uses the variable $ref , there are over 1000 refs in the database.
I need it to run this page for every $ref in the database
How do I do this please?
Hope I explained this ok, thanks in advance
I have a php file which creates a pdf, this works fine.
But I have over 1000 pdfs I need to generate so would prefer to use a cron job rather than create 1000 manually (ie click on the button 1000 times).
I have the following page which when clicked creates the pdf
pdfgen.php?ref=$ref
eg pdfgen.php?ref=4044
pdfgen.php?ref=444
The page uses the variable $ref , there are over 1000 refs in the database.
I need it to run this page for every $ref in the database
How do I do this please?
Hope I explained this ok, thanks in advance