Linux, VMware

Cron service not running and unable to start on VMWare photon OS 4.0

Recently I install the cronie package to use the cron jobs but I noticed that I couldn’t start the service.

root@photon [ ~ ]# tdnf install cronie

Installing:
cronie                                               x86_64                     1.5.5-1.ph4                         photon                        222.41k 227744

Total installed size: 222.41k 227744
Is this ok [y/N]: y

Downloading:
cronie                                  118712   100%
Testing transaction
Running transaction
Installing/Updating: cronie-1.5.5-1.ph4.x86_64
Created symlink /etc/systemd/system/multi-user.target.wants/crond.service → /usr/lib/systemd/system/crond.service.

Complete!

root@photon [ ~ ]# systemctl status cron
● crond.service - Command Scheduler
     Loaded: loaded (/usr/lib/systemd/system/crond.service; disabled; vendor preset: enabled)
     Active: inactive (dead)

When I use the systemctl start cron the command hangs, so I installed the rsyslog to use the view the logs with this command.

Continue reading
Standard

Downloads:

Code, Video 720P/1080P

Hello guys in this video I will show you how to use a remote rsync with ssh in a linux machine with cron.

Just to make you clear in your code you need to replace with your own variables, files, folders, passphrase, IP, etc.

If you have problems following the code or the video, don’t hesitate and comment in this post.