Loading...
Artemis Software blog

cron at reboot - a great way to have Confluence JIRA or anything else startup automatically

Here is a little gem I just ran across after struggling to get scripts in the /etc/rc.d directories to work properly at startup for the tenth time.

You can very easily create an entry in the cron table to do this. Here is an example.

assuming:

  • java is installed at /opt/java
  • Confluence is installed at /opt/confluence

Create a script - /home/bob/runConfluenceAtStartup.sh:

running as bob:

  • create/ edit the 'cron table' using: crontab -e
  • add the following line to the (file/table):
    @reboot /home/bob/runConfluenceAtStartup.sh

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Archives

November 2007
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

syncing QuickBooks bank downloads to invoices
brilliant wiki intro