E
E
Evgeny Matveev2017-07-20 16:52:09
Task Schedulers
Evgeny Matveev, 2017-07-20 16:52:09

How to deal with cron?

vesta / centos 7, 1 user has
the impression that cron jobs added via vesta are not processed.
ba4b3c7e79be40a792b4065faab26640.JPG
there is no selenium in Linux, google assistant, I see here - there are no commands here.
881b4248f1c94b3a951362559b4080b8.JPG
tell me how to see which commands are written in the system in cron tasks, and how to see their logs (running or not). In fact, the process is not executed by scripts, but I don’t know if cron doesn’t run or scripts glitch.
How can you check the script if you execute a cron job from the console, what command can you do this with? I can't find anything about it.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Serezha, 2017-07-20
Ahen @Ahen

Logs come to the mail. Plus write output if not directed to dev/null.
Look for letters in spam.

D
Denis Michurin, 2017-07-20
@denistu10

In rsyslog.conf, check if cron logging is enabled.
If enabled, there should be this line:

# Log cron stuff
cron.*                                                  /var/log/cron

If not, then add it
And then look at the logs /var/log/cron

E
Evgeniy Matveev, 2017-07-20
@raebg

centos-7-x86_64-minimal @ 03/06/2016
[[email protected] ~]# crontab -l
no crontab for root
[[email protected] ~]#
-------
I don't know from which user it should to be ... and I don’t even know my user, I set it automatically about Google. On another host, with such installations, everything works, but it doesn’t want to.
----
From what you can see, the superuser has no commands. the same user means, I correctly think?
maybe I didn't enter it correctly?
the line was generated to me by a script which should be entered.
Characteristics generated another plus in the vest.
maybe these 0s are not needed in the line?
YES THE PROBLEM IS IN THE LINES .. thank you
all very much ..
Vesta herself generated some of the unnecessary data .. such as an update at the top of the reports there, etc. deleted everything worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question