===2021-09-18 15:55:14.445 ERROR [http-nio-8014-exec-6] com.croot.common.utils.JwtTokenKit Line:72 – JWT Check Failure:
io.jsonwebtoken.PrematureJwtException: JWT must not be accepted before 2021-09-18T15:55:42Z. Current time: 2021-09-18T15:55:14Z, a difference of 27556 milliseconds. Allowed clock skew: 0 milliseconds.
Synchronize server time
Write a script:
Add permissions for the script to be executable by all users for later testing: chmod a+x test.sh
Stop the crond service: service crond stop
Add timed tasks:
[root@CloudDeskTop install]# crontab -e
* * * * * /bin/sh /install/test.sh
View scheduled tasks:
[ root@CloudDeskTop install]# crontab -l
* * * * * /bin/sh /install/test.sh
View which users have scheduled tasks:
[ root@CloudDeskTop ~]# ls /var/spool/cron
root
Start the crond service: service crond start
Check whether there is a test.log file in the/install/directory;
Display the contents of test.log in real time: Tail – F test.log