Where is the error log of cron jobsWhere is the cron / crontab log?cron jobs not runningWhat happens to cron jobs when the system is down?How to detect error in cron jobsCron jobs with R scriptsCron jobs are not runningsystem resource monitor for cron jobsCron Jobs Sporadically RunningCron not launching jobs?How to add and modify CRON jobs
How can a new country break out from a developed country without war?
What is 管理しきれず?
What is the tangent at a sharp point on a curve?
Fair way to split coins
Single word to change groups
Could any one tell what PN is this Chip? Thanks~
Why is there so much iron?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
Nested Dynamic SOQL Query
Hackerrank All Women's Codesprint 2019: Name the Product
When should a starting writer get his own webpage?
How to test the sharpness of a knife?
PTIJ: At the Passover Seder, is one allowed to speak more than once during Maggid?
Would mining huge amounts of resources on the Moon change its orbit?
Does fire aspect on a sword, destroy mob drops?
When did hardware antialiasing start being available?
Emojional cryptic crossword
Jem'Hadar, something strange about their life expectancy
Are hand made posters acceptable in Academia?
Why is "la Gestapo" feminine?
10 year ban after applying for a UK student visa
Is there any common country to visit for uk and schengen visa?
Why are there no stars visible in cislunar space?
Recursively updating the MLE as new observations stream in
Where is the error log of cron jobs
Where is the cron / crontab log?cron jobs not runningWhat happens to cron jobs when the system is down?How to detect error in cron jobsCron jobs with R scriptsCron jobs are not runningsystem resource monitor for cron jobsCron Jobs Sporadically RunningCron not launching jobs?How to add and modify CRON jobs
I scheduled the following cronjobs
#Backup the emacs configuration file
*/15 * * * * (cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup")
*/30 * * * * ( cd /home/me/.emacs.d/; git push)
.emacs.d
is a symbolic link
$ ls -al ~ | grep 'emacs' | sed "s/$USER/me/g"
lrwxrwxrwx 1 me me 39 Mar 18 23:01 .emacs.d -> /home/me/Documents/private.emacs.d/
The backup is scheduled to run every 15 minutes ,
Unfortunately, they did not execute as intended
:57PM 19/03 Tuesday:me@host:~/.emacs.d:
$ git log | head -n 10
commit 8b321a7c36e312745dcc996105a52d95aa8dca54
Author: gcpu.whisper@gmail.com <gcpu.whisper@gmail.com>
Date: Sun Mar 17 21:05:01 2019 +0800
Defensively Backup
commit 637887ebd66c5cb5340e5402a9966cb5e1779be3
Author: me@host<gcpu.whisper@gmail.com>
Date: Fri Mar 15 21:05:01 2019 +0800
Refer to syslog
$ grep -i '.emacs.d' /var/log/syslog | tail -n 5 | sed "s/$USER/me/g" | sed "s/$HOSTNAME/host/g"
Mar 19 12:30:01 host CRON[19524]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 12:30:01 host CRON[19525]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 12:45:01 host CRON[25093]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 13:00:01 host CRON[31792]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 13:00:01 host CRON[31793]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
They were executed,
Where could I find the error log?
cron
add a comment |
I scheduled the following cronjobs
#Backup the emacs configuration file
*/15 * * * * (cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup")
*/30 * * * * ( cd /home/me/.emacs.d/; git push)
.emacs.d
is a symbolic link
$ ls -al ~ | grep 'emacs' | sed "s/$USER/me/g"
lrwxrwxrwx 1 me me 39 Mar 18 23:01 .emacs.d -> /home/me/Documents/private.emacs.d/
The backup is scheduled to run every 15 minutes ,
Unfortunately, they did not execute as intended
:57PM 19/03 Tuesday:me@host:~/.emacs.d:
$ git log | head -n 10
commit 8b321a7c36e312745dcc996105a52d95aa8dca54
Author: gcpu.whisper@gmail.com <gcpu.whisper@gmail.com>
Date: Sun Mar 17 21:05:01 2019 +0800
Defensively Backup
commit 637887ebd66c5cb5340e5402a9966cb5e1779be3
Author: me@host<gcpu.whisper@gmail.com>
Date: Fri Mar 15 21:05:01 2019 +0800
Refer to syslog
$ grep -i '.emacs.d' /var/log/syslog | tail -n 5 | sed "s/$USER/me/g" | sed "s/$HOSTNAME/host/g"
Mar 19 12:30:01 host CRON[19524]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 12:30:01 host CRON[19525]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 12:45:01 host CRON[25093]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 13:00:01 host CRON[31792]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 13:00:01 host CRON[31793]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
They were executed,
Where could I find the error log?
cron
add a comment |
I scheduled the following cronjobs
#Backup the emacs configuration file
*/15 * * * * (cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup")
*/30 * * * * ( cd /home/me/.emacs.d/; git push)
.emacs.d
is a symbolic link
$ ls -al ~ | grep 'emacs' | sed "s/$USER/me/g"
lrwxrwxrwx 1 me me 39 Mar 18 23:01 .emacs.d -> /home/me/Documents/private.emacs.d/
The backup is scheduled to run every 15 minutes ,
Unfortunately, they did not execute as intended
:57PM 19/03 Tuesday:me@host:~/.emacs.d:
$ git log | head -n 10
commit 8b321a7c36e312745dcc996105a52d95aa8dca54
Author: gcpu.whisper@gmail.com <gcpu.whisper@gmail.com>
Date: Sun Mar 17 21:05:01 2019 +0800
Defensively Backup
commit 637887ebd66c5cb5340e5402a9966cb5e1779be3
Author: me@host<gcpu.whisper@gmail.com>
Date: Fri Mar 15 21:05:01 2019 +0800
Refer to syslog
$ grep -i '.emacs.d' /var/log/syslog | tail -n 5 | sed "s/$USER/me/g" | sed "s/$HOSTNAME/host/g"
Mar 19 12:30:01 host CRON[19524]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 12:30:01 host CRON[19525]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 12:45:01 host CRON[25093]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 13:00:01 host CRON[31792]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 13:00:01 host CRON[31793]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
They were executed,
Where could I find the error log?
cron
I scheduled the following cronjobs
#Backup the emacs configuration file
*/15 * * * * (cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup")
*/30 * * * * ( cd /home/me/.emacs.d/; git push)
.emacs.d
is a symbolic link
$ ls -al ~ | grep 'emacs' | sed "s/$USER/me/g"
lrwxrwxrwx 1 me me 39 Mar 18 23:01 .emacs.d -> /home/me/Documents/private.emacs.d/
The backup is scheduled to run every 15 minutes ,
Unfortunately, they did not execute as intended
:57PM 19/03 Tuesday:me@host:~/.emacs.d:
$ git log | head -n 10
commit 8b321a7c36e312745dcc996105a52d95aa8dca54
Author: gcpu.whisper@gmail.com <gcpu.whisper@gmail.com>
Date: Sun Mar 17 21:05:01 2019 +0800
Defensively Backup
commit 637887ebd66c5cb5340e5402a9966cb5e1779be3
Author: me@host<gcpu.whisper@gmail.com>
Date: Fri Mar 15 21:05:01 2019 +0800
Refer to syslog
$ grep -i '.emacs.d' /var/log/syslog | tail -n 5 | sed "s/$USER/me/g" | sed "s/$HOSTNAME/host/g"
Mar 19 12:30:01 host CRON[19524]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 12:30:01 host CRON[19525]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 12:45:01 host CRON[25093]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
Mar 19 13:00:01 host CRON[31792]: (me) CMD (( cd /home/me/.emacs.d/; git push))
Mar 19 13:00:01 host CRON[31793]: (me) CMD ((cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup"))
They were executed,
Where could I find the error log?
cron
cron
asked 2 mins ago
AliceAlice
555111
555111
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126817%2fwhere-is-the-error-log-of-cron-jobs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126817%2fwhere-is-the-error-log-of-cron-jobs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown