the command which can take instruction from stdin and load as crontab is
crontab - so you need to take the old crontab and append your command and load it as new crontab.
Try the following script -
newcmd="* * * * * /home/mycronjob.sh >/dev/null 2>&1"
(crontab -l; echo "$newcmd") | crontab -