For more info, there's a number of good articles on using cron via
LinuxToday. Use the Search function for cron.
Steve
Thanks all!
Try
man 5 crontab
fields are:
minute
hour
day-of-month
month
day-of-week
user
command
The line you used appends the date in /home/dating everyday at 00:01
If you want it to run every minute, you can try
*/1 * * * * root date >> /home/dating
Hi,
I am new to cron tasks and I can not find
Erik Steffl wrote:
> > I am new to cron tasks and I can not find out how I can run a task every
> > minute. I have now this line in /etc/crontab:
> > # m h dom mon dow user command
> > 1 0 * * * rootdate >> /home/dating
> > This should export the date every minute to /home/dating, but it
it would be ran everytime minute is one and hour is zero (= 0:01 AM).
to run something EVERY minute you need something like this:
0-59 * * * root date >> /home/dating
erik
Sebastiaan wrote:
>
> Hi,
> I am new to cron tasks and I can not find out how I can run a task every
> minut
on Fri, Dec 08, 2000 at 09:38:45AM +0100, Sebastiaan ([EMAIL PROTECTED]) wrote:
> Hi,
> I am new to cron tasks and I can not find out how I can run a task every
> minute. I have now this line in /etc/crontab:
> # m h dom mon dow usercommand
> 1 0 * * * rootdate >> /home/dating
>
>
6 matches
Mail list logo