search for: crondarg

Displaying 9 results from an estimated 9 matches for "crondarg".

Did you mean: crondargs
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
.... My "crond.service" file is: # /etc/systemd/system/crond.service [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target #OnFailure=crond-notify-email@%i.service [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=10s ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" [Install] WantedBy=multi-user.target My "test.sh" is very simple: #!/bin/sh echo "CROND is restarting" | /usr/bin/mailx -s &qu...
2019 Nov 22
1
Issue with "ExecStartPost" attribute in systemd daemon faile
...39;t sent any mail. Daemon and script files were: * crond.service: * [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target OnFailure=crond-notify-email.service [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target * crond-notify-email.service: * [Unit] Description=crond failure email notification After=crond.service Requires=crond.service [Service] Type=oneshot ExecStart=/et...
2020 Apr 06
2
CentOS 8.1 cron does not send mail
On 6 Apr 2020, at 12:21, Stephen John Smoogen wrote: > On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency> > wrote: > >> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote: >> >>>>>> we experience difficulties with crond behaviour sending mail >>>>>> since >>>>>> CentOS 8.1. The cron job is the
2017 Jul 19
5
Cron sending to root after changing MAILTO
...f month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed # cat /etc/sysconfig/crond # Settings for the CRON daemon. # CRONDARGS= : any extra command-line startup arguments for crond CRONDARGS= --- Chad Cordero Information Technology Consultant Enterprise & Cloud Services Information Technology Services California State University, San Bernardino 5500 University Pkwy San Bernardino, CA 92407-2393 Main Line:...
2019 Nov 21
0
Issue with "ExecStartPost" attribute in systemd daemon faile
...# /etc/systemd/system/crond.service > [Unit] > Description=Command Scheduler > After=auditd.service systemd-user-sessions.service time-sync.target > #OnFailure=crond-notify-email@%i.service > > [Service] > EnvironmentFile=/etc/sysconfig/crond > ExecStart=/usr/sbin/crond -n $CRONDARGS > ExecReload=/bin/kill -HUP $MAINPID > KillMode=process > Restart=on-failure > RestartSec=10s > ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" > > [Install] > WantedBy=multi-user.target > My "test.sh" is very simple: > #!/bin/sh > echo...
2019 Nov 22
0
Issue with "ExecStartPost" attribute in systemd daemon fail
.... My "crond.service" file is: # /etc/systemd/system/crond.service [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target #OnFailure=crond-notify-email@%i.service [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=10s ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" [Install] WantedBy=multi-user.target My "test.sh" is very simple: #!/bin/sh echo "CROND is restarting" | /usr/bin/mailx -s &qu...
2020 Apr 06
0
CentOS 8.1 cron does not send mail
...ove and wondering if this is a place where putting a custome crond.service in /etc/systemd/system with [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target sssd.service [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=30s [Install] WantedBy=multi-user.target # ==== would fix the race. My apologies for not being clearer. > It is a kind of race condition which takes place only in the beginning > when sssd is set. Usuall...
2018 Jul 02
2
cron.daily and others, not running
...adybug crond[1379]: (*system*) RELOAD (/etc/crontab) Jun 30 20:06:01 ladybug crond[1379]: (*system*) RELOAD (/etc/crontab) <eof> ----------- So, service is running but what could happen that makes /etc/cron.* not being fired? /etc/sysconfig/crond hasn't been touched and defines an empty CRONDARGS=. Stuff in /etc/crontab is running as expected, but it's maybe not related anyway. Regards, -- wwp -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <htt...
2020 Apr 06
2
CentOS 8.1 cron does not send mail
...ng a custome crond.service in > /etc/systemd/system with > > [Unit] > Description=Command Scheduler > After=auditd.service systemd-user-sessions.service time-sync.target > sssd.service > > [Service] > EnvironmentFile=/etc/sysconfig/crond > ExecStart=/usr/sbin/crond -n $CRONDARGS > ExecReload=/bin/kill -HUP $MAINPID > KillMode=process > Restart=on-failure > RestartSec=30s > > [Install] > WantedBy=multi-user.target > > # ==== > > would fix the race. My apologies for not being clearer. Just wondering here, if the system crond.service file is...