Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cronjob not running with sudo #189

Open
Labels
@rainer2208

Description

@rainer2208

Hi guys, I am on Arch and trying to get a cronjob running with admin privileges.

Inside my crontab files i have this line of code :

*/1 * * * * echo “Linux is Cool!” >> ~/crontab_log.txt
`
The code executes perfectly when running the job not with sudo, but fails when i use sudo.

crontab -e                (runs the code)sudo crontab -e      (does not run the code)

In both crontab files the content is exactly identical.

What am I missing ? Is there a need to activate the job?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp