Dynamic queries file in scheduler?

r3dn4x

A-Parser Enterprise License
A-Parser Enterprise
Is it possible to use some file naming method to use a unique queries file on each scheduled run? For example:

Day 1:
/scrape_Jan26.txt
Day 2:
/scrape_Jan27.txt

etc?

It seems it's either doing it this way, or having one static file that grows gigantic and doesn't really serve my purpose. I can't think of another solution besides using the API, which I'd rather not in this case.

I am not seeing a date method in the file naming structure, only $datefile.format()... are there others?
 
Ah, just realized there are custom macros: [% USE monthday = date(format = '%b%d', locale = 'C') -%]
 
Back
Top