crontab centos 7

12
M
Site user since 20.08.2004
Offline
351
81

friends. earlier as a sign that the problem in Crohn's crontab -e Now only through directly referring to the file / etc / crontab / is something flew by?

second question

I have such tasks

February 30 * 1 / opt / letsencrypt / letsencrypt-auto renew >> /var/log/le-renew.log 35 * 2 * 1 / bin / systemctl reload nginx

but the first does not work

Jun 15 08 2:30:01 crond [22183]: (/ opt / letsencrypt / letsencrypt-auto) ERROR (getpwnam () failed)

Please tell me on these issues.

thank

отец сыночка, лапочки дочки и еще одного сыночка
rustelekom
Site user since 20.04.2005
Offline
488
#1

This is also in the Administration.

Letsencrypt run from the command line and you will see clearly that there is not.

SSD KVM ВПС от 129 ₽ в Германии и Нидерландах. SSD хостинг от 119 ₽ в Германии или России |Выделенные серверы в Европе, Азии, США и РФ ( https://www.robovps.biz/ ) Контакты: Telegram чат ( https://t.me/rustelekom_bot ) или LiveChat на любом из наших сайтов.
Jackyk
Site user since 05.10.2005
Offline
331
#2

In this next gimor vds-and who do not care about you at SHARED? )))

С уважением, Евгений.
D8
Site user since 23.03.2007
Offline
138
#3

Miracle, try to run the command as root

M2
Site user since 11.01.2011
Offline
329
#4
Miracle:
February 30 * 1 / opt / letsencrypt / letsencrypt-auto renew >> /var/log/le-renew.log

I always knew that renew have certbot

------------------- Крутые VPS и дедики. Качество по разумной цене (http://cp.inferno.name/view.php?product=1212&gid=1) VPS25OFF - скидка 25% на первый платеж по ссылке выше
M
Site user since 20.08.2004
Offline
351
#5
rustelekom:
Letsencrypt run from the command line and you will see clearly that there is not.

on the command line and it works. I would have written if something was wrong.

Jackyk:
In this next gimor vds-and who do not care about you at SHARED? )))

I sosbvenny server

mark2011:
I always knew that renew have certbot

do not understand)))

Denzel82:
Miracle, try to run the command as root

and update manually from the command line works without problems, but what if there is a crown?

T7
Site user since 19.09.2018
Offline
44
#6
Miracle:
Please tell me on these issues.

If no user crowns (crontab -e), it is necessary to specify a user

Denzel82:
Miracle, try to run the command as root
M
Site user since 20.08.2004
Offline
351
#7

I wrote crontab -e -u username

displays empty content

M
Site user since 17.09.2016
Offline
96
#8

Can we assume that the task creating a user, and / var / log / default user does not have permission to write

add cron under the root, or the path for the log change in the user's home directory

M
Site user since 20.08.2004
Offline
351
#9
Mobiaaa:
add cron under the root, or the path for the log change in the user's home directory

thank. I try. although I think that the crowns work out as root

XPraptor
Site user since 15.10.2004
Offline
333
#10
Miracle:
although I think that the crowns work out as root

In theory - there. Who created the task, under the themes and work out. (Only if the task pane to create, then root does not see in the list of tasks that are created from a user)

12

To post a new comment, please log in or register