Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation for caspion #291

Closed
RoiNsec opened this issue Oct 8, 2021 · 2 comments
Closed

Automation for caspion #291

RoiNsec opened this issue Oct 8, 2021 · 2 comments

Comments

@RoiNsec
Copy link

RoiNsec commented Oct 8, 2021

Hi
I need assistance with how can I automate the process of fetching payment data.
For example: schedule task/script that will run every week .
There is option without run electron ?

@brafdlog
Copy link
Owner

brafdlog commented Oct 9, 2021

Hi,
We structured the code in a way that mostly decouples the "backend" node code from electron.
You can see the backend/index file exposes the api that actually runs the scraping and configuration.
We plan to expose this separately as a library that can be used independently but haven't got to this yet.
If you have the time to contribute you can add the configuration to expose this as an npm package.
If not, you can try taking the code as is and adding a cron job that will call the scraping function.

@baruchiro
Copy link
Collaborator

See #183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants