I am using crontab for the first time. Want to write a few very simple test cron tasks, and run them.$crontab * * * * * echo Hidoesn't produce anything. crontab */1 * * * * echo hisays */1: No such file or directory.Also, how do I list the currently running cron tasks (not just the ones I own, but ones started by other users such as root as well).And how do I delete a particular cron task?
How do I add an entry to my crontab?
cron;administration
You can't use crontab like that. Use man crontab to read about the correct way of calling this utility.You'll want to use crontab -e to edit the current user's cron entries (you can add/modify/remove lines). Use crontab -l to see the current list of configured tasks.As for seeing other user's crontabs, that's not possible without being root on default installations. See How do I list all cron jobs for all users for some ways to list everything (as root).Note: be very careful when you use shell globbing characters on the command line (* and ? especially). * will be expanded to the list of files in the current directory, which can have unexpected effects. If you want to pass * as an argument to something, quote it ('*').