How would you edit `/etc/crontab` and files under `/etc/cron.d/?
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
In my /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
We can use crontab to edit a user-defined crontab files under /var/spool/cron/crontabs/
, but can't use the same way to edit /etc/crontab
or files under /etc/cron.d/
. Are they supposed to be edited? If yes, how? Thanks.
cron
add a comment |Â
up vote
-1
down vote
favorite
In my /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
We can use crontab to edit a user-defined crontab files under /var/spool/cron/crontabs/
, but can't use the same way to edit /etc/crontab
or files under /etc/cron.d/
. Are they supposed to be edited? If yes, how? Thanks.
cron
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
In my /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
We can use crontab to edit a user-defined crontab files under /var/spool/cron/crontabs/
, but can't use the same way to edit /etc/crontab
or files under /etc/cron.d/
. Are they supposed to be edited? If yes, how? Thanks.
cron
In my /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
We can use crontab to edit a user-defined crontab files under /var/spool/cron/crontabs/
, but can't use the same way to edit /etc/crontab
or files under /etc/cron.d/
. Are they supposed to be edited? If yes, how? Thanks.
cron
cron
asked 13 mins ago
Tim
24.4k69238426
24.4k69238426
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478777%2fhow-would-you-edit-etc-crontab-and-files-under-etc-cron-d%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password