cron 00.27

René Berber r.berber@computer.org
Sat Jul 19 23:13:00 GMT 2008


r wrote:

> I'm trying to use cron, I created a file called backup_cygwin
> 
> 59 18 * * 6 /bin/backup_cygwin.sh 
> 00 27 20 7 * /bin/prova.sh
> 
> and I put it in /var/cron/tabs/

Wrong place!

> then I create prova.sh as follow

Wrong sequence... first create the script, then install it in cron.

> SHELL=/bin/sh                                       
>                                                     
> touch /home/Proprietario/prova_cron                 
> echo 'cron funziona' > /home/Proprietario/prova_cron
> 
> I started cron ( with "cron-config" command, ( is it possible 
> to configure it to start at win boot ? ))

Cron-config did that.

> but at 00.27 nothing appened. Did I make something wrong ?

You didn't learn to use cron:

man crontab

less /usr/share/doc/Cygwin/cron-4.1-6.README
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list