Skip to content

Why do I need sudo to run /usr/local/sbin/update-ngxblocker in root's crontab? #645

@spinitron

Description

@spinitron

In STEP 8 of this repo's main readme are instructions to run sudo crontab -e to edit root's crontab file and add a command to run update-ngxblocker. It provides a number of example crontab lines. Here's one

00 22 * * * sudo /usr/local/sbin/update-ngxblocker -e yourname@youremail.com

This is the root user's crontab file. Commands in it will run as root. Why does it use sudo to run the update-ngxblocker script?

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