Where is logged cron activity?
bruce
badouglas at gmail.com
Thu May 29 23:50:46 UTC 2025
just lurking.. and forgi
On Thu, May 29, 2025, 7:45 PM Robert Moskowitz via ubuntu-users <
ubuntu-users at lists.ubuntu.com> wrote:
>
>
> On 5/29/25 7:29 PM, Ralf Mardorf via ubuntu-users wrote:
>
> On Thu, 2025-05-29 at 18:06 -0400, Robert Moskowitz wrote:
>
> /var/log/cron
>
> Pointers please?
>
> The following answer is probably still correct.
>
> "On a default installation cron jobs will be logged to
>
> /var/log/syslog
>
> You can see just cron jobs in that logfile by running
>
> grep CRON /var/log/syslog
>
>
> Seeing the log messages now.
>
> edited Oct 3, 2023 at 0:39" -https://askubuntu.com/questions/56683/where-is-the-cron-crontab-log
>
>
> It is an established fact that my search foo is weak...
>
> Anyway, I added the following to /etc/crontab to test out piping.
>
> 45 * * * * root cat /root/test.txt >> /root/backup-updates.log
>
> and /root/backup-updates.log is not getting updated. Both files exist.
> This should run every hour at :45
>
> And nothing in syslog about this activity.
>
> I want to run a rsync in crontab and capture its output to a log...
>
hi..
just lurking
did u run ur test cmd by itself first to verify --user/permissions
etc
try doing same with something like "date" as well
-bruce
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20250529/e2b22166/attachment.html>
More information about the ubuntu-users
mailing list