phpScheduleIt
June 19, 2013, 02:16:41 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Commandline or scripting interface?  (Read 1494 times)
andyw
Newbie
*

Karma: 0
Posts: 1


« on: May 08, 2008, 05:23:34 PM »

Hello,

I had used phpscheduleit at my last job and now a need has come up for the ability to access the scheduler via commandline or scripting type interface. Is there such a feature or workaround that anyone has used beyond the standard web interface?

I suppose it is possible to access the database directly but some sort of CLI or library interface would be much cleaner.

Thank you for all suggestions.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5506


WWW
« Reply #1 on: May 12, 2008, 10:00:56 AM »

Nothing currently exists for that, but you could easily write something.  The code was designed in a modular way so that you could use the database access code without being tied to the web.

Take a look at how /cmd/send_reminders.php works.  This is a scheduled, command line job that gets reservation reminders and sends an email.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!