- linux script command. The shell script itself has log output, but there is no log in the cron expression. What is the reason and how to solve it?
- shell script command: nohup / tcps/modules/hadoop/hadoop-2.6.2/bin/hadoop jar/ tcps/modules/hadoop/jar/camus.jar com.linkedin.camus.etl.kafka.CamusJob-P / tcps/modules/hadoop/jar/camus.properties > > / tcps/modules/hadoop/logs/camus.log &
- cron expression command: 10 02 * nohup / tcps/modules/hadoop/hadoop-2.6.2/bin/hadoop jar/ tcps/modules/hadoop/jar/camus.jar com.linkedin.camus.etl.kafka.CamusJob-P / tcps/modules/hadoop/jar/camus.properties > > / tcps/modules/hadoop/logs/camus.log & The command in the
- cron expression is executed at 02:10 every morning, and the command itself is also executed, but there is no log output.