Condition: If the user has existed, (test:test)
usermod -G test,cron test
In short, add the user to the group 'cron'.
If it still doesn't work, try the code below:
chmod u+s /usr/bin/crontab
Condition: If the user has existed, (test:test)
usermod -G test,cron test
If it still doesn't work, try the code below:
chmod u+s /usr/bin/crontab