Skip to content

Running Python script command line from cron job #173

@ronnyandre

Description

@ronnyandre

I have a Python script that will fetch data from external source two times a day. I thought I would solve this by having a cron job invoking the Python script inside the Docker container.

Is it really as straight forward as creating the script in a container and then do a cron job that will exec this script?

Just asking because to me it seems like the Python container will continously run as a server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions