Results 1 to 5 of 5

Thread: Script automation

  1. #1
    chrish is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    48

    Default Script automation

    Hi

    I am running the SugarCRM on a box which does not support CRON or any other derivative as far as I can tell? I am trying to set up a scheduler event using the scheduler it comes with, I need to know which scripts do things like get the mail or send the outbound campaign emails? Could someone please let me know which scripts I should call?

    Just for information this is running on an IBM i5 running in the PASE environment so I will be using the QP2SHELL command to invoke the scripts hopefully?

    Chris...

  2. #2
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: Script automation

    An alternative approach can be invoking cron.php through web instead of using the local cron service. Can you setup cron or scheduler on a different machine and have it accessing http://domain..../cron.php on the IBM i5?

  3. #3
    labanjohnson is offline Sugar Community Member
    Join Date
    Jul 2007
    Location
    Houston, TX
    Posts
    139

    Default Re: Script automation

    Quote Originally Posted by HolmesA
    An alternative approach can be invoking cron.php through web instead of using the local cron service. Can you setup cron or scheduler on a different machine and have it accessing http://domain..../cron.php on the IBM i5?
    Short answer, most definitely. In PHP this is typically handled using either fopen() or cURL, which is my personal favorite. You can just set up a scheduler that opens the url of the cron.php on the other domain.
    Laban Johnson
    SugarCE User, Idealist
    Open Source and Social Media Enthusiast, Social Entrepreneur
    Twitter: http://www.twitter.com/labanjohnson
    Facebook LinkedIn
    Home page: http://www.LabanJohnson.com

  4. #4
    chrish is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    48

    Default Re: Script automation

    Quote Originally Posted by HolmesA
    An alternative approach can be invoking cron.php through web instead of using the local cron service. Can you setup cron or scheduler on a different machine and have it accessing http://domain..../cron.php on the IBM i5?
    OK so all I need to do is call cron.php from my scheduler as often as I want to? This should be easy to implement..

    Chris

  5. #5
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: Script automation

    Yes, it is as simple as it is.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Script for sugar ASAP
    By shrekthemp in forum Classifieds
    Replies: 2
    Last Post: 2007-05-29, 10:02 PM
  2. broken links on forcast screen
    By peter.brown in forum Help
    Replies: 0
    Last Post: 2006-10-06, 07:04 AM
  3. SugarCRM install: timeout of php script
    By giovannic in forum General Discussion
    Replies: 0
    Last Post: 2005-04-17, 08:50 PM
  4. Replies: 0
    Last Post: 2005-03-16, 05:38 PM
  5. Java SCRIPT Assignment
    By baba2002 in forum Developer Help
    Replies: 0
    Last Post: 2005-02-11, 12:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •