Child pages
  • [scheduled tasks] Cron reminder in "Agents" section
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/5d86889779d53103#

In-Portal has 2 ways of running agents:

   - via cron (recommended)
   - after page is displayed to user

Right now setting to enable cron usage is located far away from agents
section. I'm proposing to add a hint to "Agents" section (like one in
"Change Logs" section), that would show a small dialog window, where sample
crontab lines are displayed, like this:

--- CUT HERE ---
[Enable Cron] [Disable Cron] - toolbar buttons

I have a UNIX-based server. How do I setup cron jobs?

Typically you will be able to setup your cron with the following format:
**/5 * * * * php /path/to/in-portal/tools/cron.php*

If your PHP executable is installed in a custom folder, you may need to
specify the PHP folder (such as /usr/local/bin/php) with your custom PHP
path in a following command:
**/5 * * * * /usr/local/bin/php /path/to/in-portal/tools/cron.php*

If you are having trouble setting up the cron (or do not know the location
of PHP on the server) you can use the following format:
**/5 * * * * wget http://www.website.com/path/to/in-portal/tools/cron.php >
/dev/null*
 --- CUT HERE ---

This would allow user to see how cron job should be added and manually
confirm/decline enabling of "Run Agents Through Cron" configuration setting.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

4 Comments

  1. I'm for it, as all ideas making in-portal's usage more intuitive.

    2011/11/14 Alexander Obuhovich <aik.b...@gmail.com>

  2. I like the idea of having the option to enable this, but I having problem
    the problem envisioning how we are going to show those Samples so it's user
    friendly and doesn't break the looks.

    Any ideas / examples on this?

    DA

  3. I think it's again the point where I'll ask the revival of contextual help,
    as question mark icon, or as toolbar text link - hey yes, it's never done
    yet, then it'd be eye catching :)

    2011/12/6 Dmitry A. <dandre...@gmail.com>