Where is the error log of cron jobs












0















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?










share|improve this question























  • Possible duplicate of Where is the cron / crontab log?

    – Emmet
    7 mins ago
















0















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?










share|improve this question























  • Possible duplicate of Where is the cron / crontab log?

    – Emmet
    7 mins ago














0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 10 mins ago









AliceAlice

555111




555111













  • Possible duplicate of Where is the cron / crontab log?

    – Emmet
    7 mins ago



















  • Possible duplicate of Where is the cron / crontab log?

    – Emmet
    7 mins ago

















Possible duplicate of Where is the cron / crontab log?

– Emmet
7 mins ago





Possible duplicate of Where is the cron / crontab log?

– Emmet
7 mins ago










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
});


}
});














draft saved

draft discarded


















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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection