Ruby, Tcl, OASscript, etc.) from the command line with something like:
#!/usr/bin/php
<?php
/*
Some PHP script
*/
function SomePHPFunction($someVar)
{
$myVar=$someVar + $someVar;
return $myVar;
}
*
*
*
This can be quite useful to automate background tasks, such as creating
& populating & backing up databases, manipulating logs, mail queues,
schedules, chronjobs, etc.
And if you do these frequently, they can be setup to run automatically
or be packaged so that they are executable by double (right) clicking
the file.
It is true that most of these are used for web applications, but they
are not limited to that use.
There are some things that CFML does better that the others -- given
the appropriate runtime engine, could CFMX or BD be used in this way?
TIA
Dick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

