Thanks, Clifford. No, they are not scheduled to start later -- I have just checked that with atq. Moreover, the log tells that the script is run at the specified time. Paul On Fri, Nov 19, 2021 at 7:19 PM Clifford Snow <clifford@xxxxxxxxxxxxxx> wrote: > > Also check at -l, or atq to see if it is scheduled to run later. > >> > >> > > I am trying to run a script with the following command: >> > > >> > > echo "~/scripts/teste.sh" | at 5:59PM >> > > >> > > but nothing happens. >> > >> > Try putting some echo commands into the script, redirected to a file so >> > that you can see if the script runs at all, and if so, how far it gets. >> >> Thanks, Joe. I am going to try that, but the following log may help to >> trace down the problem: >> >> --------------------------------------- >> Nov 19 19:07:00 localhost atd[45259]: Starting job 110 >> (a0006e01a0663b) for user 'x' (1000) >> Nov 19 19:07:00 localhost audit[45259]: USER_ACCT pid=45259 uid=0 >> auid=4294967295 ses=4294967295 >> subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:accounting >> grantors=pam_access,pam_unix,pam_localuser acct="x" >> exe="/usr/sbin/atd" hostname=? addr=? terminal=atd res=success' >> Nov 19 19:07:00 localhost systemd-logind[1147]: New session 17 of user x. >> Nov 19 19:07:00 localhost systemd[1]: Started Session 17 of User x. >> Nov 19 19:07:00 localhost atd[45259]: pam_unix(atd:session): session >> opened for user x(uid=1000) by (uid=0) >> Nov 19 19:07:00 localhost audit[45259]: USER_START pid=45259 uid=0 >> auid=1000 ses=17 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 >> msg='op=PAM:session_open >> grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix >> acct="x" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd >> res=success' >> Nov 19 19:07:00 localhost audit[45259]: CRED_ACQ pid=45259 uid=0 >> auid=1000 ses=17 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 >> msg='op=PAM:setcred grantors=pam_env,pam_env,pam_localuser,pam_unix >> acct="x" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd >> res=success' >> Nov 19 19:07:00 localhost atd[45263]: Exec failed for mail command: No >> such file or directory >> Nov 19 19:07:00 localhost audit[45259]: CRED_DISP pid=45259 uid=0 >> auid=1000 ses=17 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 >> msg='op=PAM:setcred grantors=pam_env,pam_env,pam_localuser,pam_unix >> acct="x" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd >> res=success' >> Nov 19 19:07:00 localhost atd[45259]: pam_unix(atd:session): session >> closed for user x >> Nov 19 19:07:00 localhost audit[45259]: USER_END pid=45259 uid=0 >> auid=1000 ses=17 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 >> msg='op=PAM:session_close >> grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix >> acct="x" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd >> res=success' >> Nov 19 19:07:00 localhost systemd[1]: session-17.scope: Deactivated >> successfully. >> --------------------------------------- >> >> Paul >> _______________________________________________ >> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx >> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx >> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx >> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure > > > > -- > @osm_washington > www.snowandsnow.us > OpenStreetMap: Maps with a human touch > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure