Skip to content

Automatically run a script on program execution? #252

@dbee01

Description

@dbee01

I need to run a script automatically whenever the google-maps-scaper exe finishes. I have a number of options.

  1. I could write my own UI and scraper using the helpful starter repo. Then do a simple bt.run_js(script) This solution is recommended.
  2. I could run a crontab on a very frequent basis to process the .ndjson file. And place an escape if the file is already processed.

I'll write my own google scraper using bota soon, but for the time-being. What's my best solution to run a script to execute a bash.sh file on a new finished .ndjson output file?

thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions