my api parsing script has dynamic url, like
scriptname.php?limit=100
here this last 100 will change;varying from 0 to the number of lines from the file returned by first cron.
And i want to this script to execute as a cron job, but how this parameter 'limit' i should handle.
any posts regarding this dynamic cron url will be much appreciated.
Please ask to clarify if not clear enough.
network18
15
Practically a Master Poster
Recommended Answers
Jump to PostYou can't pass url parameters to a php script through cron.
If you need to store something to be used in a cronjob later, your best bet would be either to use a database or a text file.
All 4 Replies
somedude3488
228
Nearly a Posting Virtuoso
network18
15
Practically a Master Poster
network18
15
Practically a Master Poster
network18
15
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.