I always use scripts because they're easier to modify.
To have crontab set up for user do crontab -u user. Also see the crontab man page, it would have easily explained this to you.
Code: */10 * * * * (DISPLAY=:0.0; rndback) Edit: your 2nd command is incorrect because you don't use a ; after you set a environment. You put this before the environment, or you use export command (in Bash).
*/10 * * * * (DISPLAY=:0.0; rndback)
Code: DISPLAY=:0.0 */10 * * * * rndback The 3rd won't work because you screwed the crontab file format. Probably, the issue is that the variable is not passed to the application, so you'd have to use export or a script.
DISPLAY=:0.0 */10 * * * * rndback
But I recommend crontab for user in any case.