Difference between revisions of "Freeside:3:Documentation:Developer/bin/freeside-fetch"

From Freeside
Jump to: navigation, search
m (Edit via perl MediaWiki framework (1.13))
m (Edit via perl MediaWiki framework (1.13))
Line 11: Line 11:
 
   employee.  Useful when run out of cron to send freeside web pages.
 
   employee.  Useful when run out of cron to send freeside web pages.
 
   
 
   
   user: From the mapsecrets file - a user with access to the freeside database
+
   user: Freeside user
 
   
 
   
 
   employee: the username of an employee to receive the emailed page.  May be a comma separated list
 
   employee: the username of an employee to receive the emailed page.  May be a comma separated list

Revision as of 11:16, 30 March 2015

NAME

freeside-fetch - Send a freeside page to a list of employees.

SYNOPSIS

 freeside-fetch user employee[,employee ...] url

DESCRIPTION

 Fetches a web page specified by url as if employee and emails it to
 employee.  Useful when run out of cron to send freeside web pages.

 user: Freeside user

 employee: the username of an employee to receive the emailed page.  May be a comma separated list

 url: the web page to be received

BUGS

 Can leak employee usernames and passwords if requested to access inappropriate urls.