jens-maus / carddav2fb

:notebook: A command-line PHP script allowing to import CardDAV-based VCards (e.g. from 'owncloud') to a phonebook in a AVM FRITZ!Box
The Unlicense
28 stars 19 forks source link

silent mode for cron #25

Closed Micha-Btz closed 8 years ago

Micha-Btz commented 8 years ago

Hi there,

i use the script with cron weekly. and it outputs the complete received vcards as mail from cron. Can you please add an option that the script just say success or error?

thanks Micha

jens-maus commented 8 years ago

Why can't you simply run the script like

php carddav2fb.php 2>&1 >/dev/null

because then all output will be send to /dev/null.