I am using jira v4.4.1#660-r161644 on a linux server (kernel: 2.6.9-67.ELhugemem) at the moment
I have created a custom script to start jira. it isschedule to run it once a week in crontab because our development server reboot weekly.
#!/bin/bash
JIRAHOME=~/atlassian/jira
$JIRAHOME/bin/start-jira.sh
However the jira server is not started. If I run this command manually in shell it works just fine.
I have checked the cron log and I am sure the script get executed at the scheduled time. The x flag of the script is set and the path is correct.
What can cause this to happend?
EDIT
Will it help if I pass a -fg parameter to the command?