Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: crontab error

  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    93
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default crontab error

    hi im using crontab on ubuntu to run a jar file crontab runs a bash file with

    #!/bin/bash
    java -jar "/home/user/NetBeans/project/dist/projectjar"

    this works fine when run by clicking on bash file
    it works fine when run once off in crontab for test
    it FAILS when schedualed to run at specific time

    it does start to run the bash cos the crontab log file records a printout at start of java code but webdrivers never launch. but this is only when schedualed for specific time the code works otherwise anyone have any idea why this would be thanks


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: crontab error

    Please translate this gibberish if you need help

Similar Threads

  1. Please! Help me to this error "ERROR CANNOT FIND SYMBOL"
    By mharck in forum Object Oriented Programming
    Replies: 8
    Last Post: July 3rd, 2012, 10:20 AM