1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello.
Try running the following command to start it.
sudo systemctl start cron
sudo systemctl enable cron
sudo systemctl status cron
相關內容
- AWS 官方已更新 9 個月前
- AWS 官方已更新 2 年前
Hello.
Try running the following command to start it.
sudo systemctl start cron
sudo systemctl enable cron
sudo systemctl status cron
bitnami@ip-168-23-5-32:
$ sudo systemctl enable cron Synchronizing state of cron.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable cron bitnami@ip-168-23-5-32:$ sudo systemctl start cron bitnami@ip-168-23-5-32:~$ sudo systemctl status cron ● cron.service - Regular background program processing daemon Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-11-13 04:43:46 UTC; 2 days ago Docs: man:cron(8) Main PID: 204143 (cron) Tasks: 1 (limit: 1116) Memory: 2.6M CPU: 52.326s CGroup: /system.slice/cron.service └─204143 /usr/sbin/cron -fNov 15 06:00:01 ip-168-23-5-32 CRON[231900]: pam_unix(cron:session): session opened for user bitnami(uid=1000) by (uid=0) Nov 15 06:00:01 ip-168-23-5-32 CRON[231901]: (bitnami) CMD (/usr/bin/curl -sS http://live.seggobal.com/crons/cron.php >/dev/null 2>&1) Nov 15 06:00:01 ip-168-23-5-32 CRON[231900]: pam_unix(cron:session): session closed for user bitnami Nov 15 06:03:01 ip-168-23-5-32 CRON[231934]: pam_unix(cron:session): session opened for user bitnami(uid=1000) by (uid=0) Nov 15 06:03:01 ip-168-23-5-32 CRON[231935]: (bitnami) CMD (/usr/bin/curl -sS http://live.seggobal.com/crons/cron.php >/dev/null 2>&1) Nov 15 06:03:01 ip-168-23-5-32 CRON[231934]: pam_unix(cron:session): session closed for user bitnami Nov 15 06:06:01 ip-168-23-5-32 CRON[23203
It seems that cron is running.
yes. I checked from the server,,Its working again,,Lets check 2-3 days,, thanks for the help