Skip to content

chrome-cli in crontab of MacOS may not work properly #74

@shooter556

Description

@shooter556

Using "terminal" or even "remote terminal" (ssh) in macOS works just fine with chrome-cli.
All you need to do is just click on "OK" when some privacy notification windows pops up.
Then some entries will just appear in "Privacy" -> "Automation", indicating that some apps are allowed to access chrome's data directories.
But when I try to add some script regarding "chrome-cli" in "crontab".
(For example, just "chrome-cli chrome version" as simple as it is)
It will just print (null) on screen or file.

Is there any workaround for this?
I searched on the internet, unfortunately we can never add/remove apps manually in "Privacy" -> "Automation" configuration.
What I guess is that all I need is adding "cron" in "Automation".

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