BASH   29
phpList
Guest on 14th September 2023 06:53:58 PM


  1. /bash
  2.  
  3. # script to run phpList from commandline. You may need to edit this to make it work
  4. # with your shell environment. The following should work for Bash on Linux
  5. # but this may vary strongly in other situations. You will need to dig into the
  6. # code to make sure it works for you.
  7.  
  8. # in commandline mode, access is restricted to users who are listed in the config file
  9. # check README.commandline for more info
  10. #
  11. # when you set this file up, and place it in your PATH, you can do eg
  12. #  $ phplist -pprocessqueue
  13. # to run the queue
  14.  
  15. # run the phpList index file with all parameters passed to this script
  16. # make sure the php binary is "cli"
  17. #
  18. /usr/bin/php /home/website/public_html/lists/admin/index.php -c /home/website/public_html/lists/config/config.php $*

Raw Paste

Login or Register to edit or fork this paste. It's free.