Cron job help
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
-
Hello :) This forum is primarily intended for discussions of the cPanel/WHM software. You will likely receive more user-feedback for this topic on a forum dedicated to discussions of PHP or web design in general. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment