Announcement

Collapse
No announcement yet.

Starting sc application from cron

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Starting sc application from cron

    Hi everybody,

    That I want to do is starting a scriptcase application (i.e. blank application) from linux cron.

    I have configured already linux and, when calling a pure php module it's working fine.
    This pure php module just write a record into log table.

    I.e. when calling from cron -every half an hour - I execute /var/www/clients/btcomercial/web/cron/index.php or /var/www/clients/btcomercial/web/cron/cron.php
    being these pure php and it records a log into the database.

    Now, I generate a sc blank application just with log recording active.
    If I run this blank application in the explorer, a new record is inserted in log table.
    However, If I replace my pure php module with the sc application it seems it doesn't work as it do no record anything in the log table.

    Anyone has experience with sc and cron?

    Any help will be appreciated.

    Regards

    Josť Miguel

  • #2
    Scriptcase is designed for webapplications requiring a form with fields. I guess that running that in a cron job where there's no panel to display upon is holding things back. But this has been discussed not so long ago and even options where mentioned. see
    http://www.scriptcase.net/forum/show...highlight=cron
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      We use any blank applications with cron; use wget http://www.xxx.com/yyy.php to call your scriptcase page; if you dont want this to be a public page use ip address check
      --raj

      Comment

      Working...
      X