crontab centos 7

12
M 349
2

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

отец сыночка, лапочки дочки и еще одного сыночка
Avatar 472
#1

This is also in the Administration.

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

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

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

Православному журналу "Фома" нужен дизайнер: https://clck.ru/PV2hE С уважением, Евгений.
D8 129
#3

Miracle, try to run the command as root

M2 318
#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 349
#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 30
#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 349
#7

I wrote crontab -e -u username

displays empty content

M 85
#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 349
#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

Avatar 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