Freeside:3:Documentation:Developer/bin/freeside-fetch

From Freeside
< Freeside:3:Documentation:Developer
Revision as of 11:14, 10 April 2015 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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: From the mapsecrets file - a user with access to the freeside database

 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.