Search:

Type: Posts; User: hyperbart; Keyword(s):

Search: Search took 0.01 seconds.

  1. [ubuntu] Re: Script fails in cron but runs fine in regular shell

    Meanwhile, we found the problem: the startupscript from sabnzbd is very strict about a daemon parameter or something (a colleague helped). I changed it, en now everything is running fine...
  2. [ubuntu] Re: Script fails in cron but runs fine in regular shell

    Changed that, didn't work, don't get an error though about sourcing my profile now with .profile or bashrc...

    Mister P, that would be strange, because my "move everything to my nas" script runs...
  3. [ubuntu] Re: Script fails in cron but runs fine in regular shell

    With this:

    #!/bin/sh
    SERVICE='sabnzbdplus'
    . /home/bart/.bashrc

    if ps ax | grep -v grep | grep $SERVICE > /dev/null
    then
    echo "$SERVICE service running, everything is fine"
    else
  4. [ubuntu] Re: Script fails in cron but runs fine in regular shell

    Nope, that's not the issue because Sabnzbd can be started without sudo-rights:


    bart@Pyro:~$ /etc/init.d/sabnzbdplus start
    * Starting SABnzbd+ binary newsgrabber
    ...done.
    So adding this...
  5. [ubuntu] Script fails in cron but runs fine in regular shell

    I have an Ubuntu server running Couch Potato, Sick Beard and Sabnzbdplus. Everything "works" pretty well in a sense that CP and SB push the NZB's to Sabnzbdplus, but Sab crashes regularly (haven't...
Results 1 to 5 of 5