Create new crontab set for user 'test' including $job and only jobs from current crontab of 'test' user that don`t contain $command
cat <(fgrep -i -v "$command" <(crontab -u test -l)) <(echo "$job") | crontab -u test -