How to activate the daemons on a shared hoster?

Hi!

I want to install a server onto a shared hoster. That means that I have only limited access to the machine. Running the "startdaemons.sh" script will not be possible - but I have the possibility to run some kind of cron jobs. But they are limited to the possibility of calling an url so there is no way to call a shell script.

What can I do?

Michael

Comments

  • I have got the same problem too. and it is needed to import tweets from twitter :-/
  • @heluecht Without cli access you can't. Also most shared hosts won't let you run a persistent process like a daemon anyways, you may want to look into a vps (virtual private server) if you want to be able to run the queues and daemons.
  • @jordanc Even if it is a scheduled tasker?
  • @jordanc I do have the possibility to run scripts - even every minute. The twitter daemon isn't doing anything different from that. So everything I need is to rewrite the code that now is kept inside the daemon so that it is run every minute.

    The only problem is that I have to separate the code. It would be fine to know exactly the part that is running every minute. That would prevent me from too much debugging in unknown code.

    Michael
  • @jordanc - is there a way to run a cron job that activates the daemons periodically? I mean i won't have real time updates on my site but at least the info from twitter *WILL* appear on my site.

    if yes, can you tell me which files should i cron job?
  • @paulc startdaemons.sh will start the needed daemons, but I have my doubts as to whether it can work on a shared host.
  • is it really necessary to be a .sh? Is there no way (even if not real-time) out?
  • So, what exactly should be done in order to start the cron job that will call the daemons? What is the command I should specify for a cron job?

    I'm on shared host as well and need it for twitterbridge integration. My host allows me to run a cronjob every 15 minutes.
  • startdaemons.sh is a shell script look at the commands inside it. those would be needed to run as cron jobs, you will also have to be in the right directory/path to run it.
  • @encyclomundi as far as I understand (i'm by far nothing like a PHP-guru) startdaemons.sh further calls "DAEMONS=`php $DIR/getvaliddaemons.php $ARGSG`" which is empty on my installation.

    I also filed a bug, because I'd really like to be able to "just" call the scripts via a cron-job: http://status.net/open-source/issues/3143
  • What functions does not work if I can not activate the daemons? TwitterBridge (Import my friends timeline and Subscribe to my Twitter friends here.), SMS, connections with applications, post messages using a Jabber client, post notices by email, etc... Which of these do not work?
  • @fernando daemons are needed for two way twitter integration, facebook integration, xmpp(jabber), and some parts of OStatus.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID