adopt crontab Unable to run , Prompt information such as title ;

But directly on the terminal console sh and java -jar Fine ;

Tips on the Internet, solutions , stay .sh The file begins with

source /etc/profile

then crontab Successful implementation ;

For details, please refer to

https://xiachaofeng.iteye.com/blog/1405184

Add :

crontab -e After editing , Tasks are automatically scheduled by the operating system ;

adopt crontab Dispatch java -jar Task Tips "nohup: failed to run command `java': No such file or directory" More articles about

  1. nohup: failed to run command `java': No such file or directory

    Add this line in the execution script source /etc/profile exec nohup java -Xms1024m -Xmx2048m -jar /opt/dev/claimzuul/$JAR_BAO ...

  2. eclipse Prompt when opening :failed to create the java virtual machine

    Eclipse Prompt when opening : failed to create the java virtual machine reason :C Not enough disk space   Edit delete Handle :1. Use Jinshan to clean up temporary documents : 2. Connect with Jinshan mobile guard ...

  3. Java:Linux On java -jar xxx.jar Command execution jar When the package appears Error: Invalid or corrupt jarfile xxx.jar Solution

    background : from ftp The upload jar Package to linux On , After the linux through ftp Command download jar Package file , Start execution Java-jar, Keep prompting for errors :Error: Invalid or corrupt jarfil ...

  4. Use "java -jar" Command to start jar Bao times doesn't support jdk Version exception

    In the use of java -jar Command to start a jar When the package , Prompt version does not support : [root@hadoop01 eureka-server-master]# java -jar xuebusi-eureka-s ...

  5. java.io.IOException: Cannot run program "/opt/jdk1.8.0_191/bin/java" (in directory "/var/lib/jenkins/workspace/xinguan"): error=2, No such file or directory

    test jenkins structure , An error is as follows Parsing POMs Established TCP socket on 44463 [xinguan] $ /opt/jdk1.8.0_191/bin/java ...

  6. Caused by: java.net.ConnectException: Call From master/192.168.199.130 to master:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.

    1: Install well hive, The following error occurred while preparing to start ( because hive Is based on Hadoop Of , So you have to start your cluster first , I just didn't start the cluster , Direct start hive The resulting error ): [root@master bin] ...

  7. hive Wrong starting time java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D at org.apache.hadoop.fs.Path.initialize

    The error message is as follows The error message is as follows [root@node1 bin]# ./hive Logging initialized -bin/lib/hive-common-.jar!/hive-log4j.p ...

  8. cloudera-scm-server Appears on startup Caused by: java.io.FileNotFoundException: /var/lib/cloudera-scm-server/.keystore (No such file or directory) The solution to the problem ( Graphic, )

    Not much to say , Direct delivery of dry goods ! Details of the problem see /var/log/cloudera-scm-server.log Start log of Source of problem I am using cloudermanager Once installed , then , Here's how it works . To configure kerbe ...

  9. Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/jms/JMSContext

    Reference link : https://blog.csdn.net/angus_Lucky/article/details/82811946?utm_source=blogxgwz7 org.springfra ...

Random recommendation

  1. Git Day02, work area , Temporary storage area , Back off , Delete file

    1st, Workspace back :2st, Staging area fallback :3rd, Delete file :

  2. AngularJS In service serivce,factory,provider The difference between

    Angular A service is a singleton object created by a service factory . These service factories are made up of  service provider Created in turn . and service providers It's a constructor . They have to contain a $get Properties are used in instances ...

  3. HDU(1856), Naked with right and search

    Topic link :http://acm.hdu.edu.cn/showproblem.php?pid=1856 The question : Circle of friends problem ,A and B It's a friend. ,B and C If you are a friend, then A and C It's also a friend , By analogy , The meaning of the title is to seek the greatest friend ...

  4. linux Command learning diary 20160621

    1.cat /proc/meminfo Observe Linux The current state of virtual memory on the system 2.ipcs -m ipcs The command is specifically used to view the current shared memory page on the system 3.ls /dev -al sda* ttyS* ...

  5. AltiumDesignerSummer9Build9.3.1.19182 Crack the text tutorial

    One . download AltiumDesignerSummer9Build9.3.1.19182 Download address http://www.verycd.com/topics/2769819/ Two . install All the way to determine what kind of fool ...

  6. Mybatis stay oracle、mysql、db2、sql server Of like Fuzzy query

    <!-- oracle --> <select id="searchUserBySearchName" parameterType="java.lang ...

  7. Chrome Console usage details

    Chrome Our developer tools are so powerful that we have no friends , In particular, it has rich functions and friendly interface console, Proper use can have the following effects : Higher 「 Forced case 」 faster 「 Development and debugging 」 stronger 「 Progressive Frontender」 Bug Nowhere to hide 「 ...

  8. iPad Pro 10.5+Apple Pencil Focus on the efficiency of literature reading and note taking App review

    Let's talk about my understanding of note taking App A few requirements of -- The principle is to extract its essence , A little bit of the dregs , After all, developers are still ,App It will be constantly improved : It's fast and convenient to add and delete : Perfect support Apple Pencil, Powerful recording function in specific scenes , Words or short sentences can be altered ...

  9. Digital image feature extraction HOG features

    1. Graying :( So that you can use sobel And so on )2.gamma correction : ( Reduce the effect of light )3. Find the gradient and direction of each pixel : ( Using any gradient operator , for example :sobel,laplacian etc. , For the patch Into the ...

  10. be based on Python and Pandas Data analysis of (4) --- Build datasets

    In this section, I want to use Python and Pandas We need to expand our data analysis . Suppose we are billionaires , We're going to want to diversify , Such as the stock , Share out bonus , Financial markets, etc , So now we're going to focus on the real estate market , Do some of this ...