Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
Like Tree1Likes
i'm doing [ sudo crontab -e ] for system wide cronjobs [crontab -e ] for user cronjobs...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    May 2014
    Posts
    13

    i'm doing [ sudo crontab -e ] for system wide cronjobs
    [crontab -e ] for user cronjobs

  2. #12
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,651
    Quote Originally Posted by mizzle View Post
    You only put the user in system crontab files, such as /etc/crontab
    crontab -e is a user's personal crontab, and will always execute with that user's permissions.
    He ran"sudo crontab -e" so it is the root users. I don't think it is an error to use root in the crontab line thought it's unnecessary.

  3. #13
    Just Joined!
    Join Date
    May 2014
    Posts
    13
    It may not be an error but it did stop my script from working.

    at gregm : the script was not the problem, but it needs root permissions

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,651
    Quote Originally Posted by fbuster View Post
    It may not be an error but it did stop my script from working.

    at gregm : the script was not the problem, but it needs root permissions
    So removing root solved it?

  6. #15
    Just Joined!
    Join Date
    May 2014
    Posts
    13
    yes it did.
    gregm likes this.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •