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?
You can also use date directly in template, without creating macro: Code: scrape_[% USE date; date.format(date.now, '%b%d') %].txt For more information: http://template-toolkit.org/docs/modules/Template/Plugin/Date.html http://man7.org/linux/man-pages/man3/strftime.3.html