Relative start dates in Actors that ask for a date range.

Hi, I'm trying to plan out some automations using quite a few scrapers. If I have 10 different actors I want to run on the first of every month and I want to scrape the entire previous month, and have this as a recurring task, how would I do it? My biggest question is about configuring the dates to be relative. The rest I think I can likely figure out using integrations with Make. TIA!
6 Replies
Hall
Hall•7mo ago
Someone will reply to you shortly. In the meantime, this might help:
azzouzana
azzouzana•7mo ago
Hello 👋 are these your private scrapers (Do you have access to their internal code?) If not, you probably can calculate this relative date from within your make integration and then send it to the actor
like-gold
like-gold•7mo ago
Create task(s) then add schedule https://docs.apify.com/platform/schedules
Schedules | Platform | Apify Documentation
Learn how to automatically start your Actor and task runs and the basics of cron expressions. Set up and manage your schedules from Apify Console or via API.
flat-fuchsia
flat-fuchsiaOP•7mo ago
No these are rented actors. How do I send information from Make to my apify tasks so that the date is relative? Thanks for the link. I'm concerned about the actors that ask for dates in the YYYY-MM-DD format. I'm likely going to want to run tasks on a weekly basis, so I'd want the time frame to be "newer than 7 days" or something like that. I feel like the "Input JSON overrides field" might be involved somehow but I don't know enough to understand what's involved with that.
ambitious-aqua
ambitious-aqua•6mo ago
if nothing works then as last resort you can create your own actor that will just launch these actors with any time frame you need
flat-fuchsia
flat-fuchsiaOP•6mo ago
I had no idea you could do that! I need to look into this. Thanks!

Did you find this page helpful?