[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] OT ? Interbase - how to have auto email when db date value is current date



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I am not to familiar with PHP. So you are saying that you can use
> PHP from a shell? Like a Perl or Python script?

Yep.  Just do "php whatever.php" and away it goes.  There's a php 
binary in /usr/bin.

You can test by making a test.php in any directory and putting

<? phpinfo(); ?>

in it, then do "php ./test.php" and watch the HTML spew forth.  :)

Upon further research (Chilisoft forums) about ASP and cron, the lynx 
kludge I mentioned is the only apparent way to "script" ASP via cron 
or commandline:

http://developer.chilisoft.com/forum/topic.asp?TOPIC_ID=1663

So it can be done, just not as elegantly as with PHP, Perl, etc.

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Z9z9vLA2hUZ9kgwRAmzYAJ0VXjMe5XnWFns/D70iXn+HFoDQJACfZBZZ
d2NubC4kAzVNvzF54UlHMlU=
=Nnre
-----END PGP SIGNATURE-----