Instructions for transferring to Cron
Notes for using cron:
1. Try to write the full path of the command. Because cron does not have any user environment variables during running, you must either set the environment variables in the shell to be called or/Etc/profileSet system environment variables. But the safest way is to specify the full path of the command. If you stick to the former, remember one thing: if an error occurs or the command execution fails, think about whether the command you want to call is overwritten.
2. Modify crontab and run/sbin/service crond reload to re-load the configuration. Although crond reload once after you modify crondtab, manual reload is more secure.
3. Call otherProgramPay attention to dependent files such as class files and environment variables required by the import program. For example, to call a Java program, you must specify environment variables such as java_home and the packages required by the program.
4. Check/var/log/cron to check whether cron is executed and check for errors in a timely manner.