> un script: .... > Acum vreau sa-l pun in crond sa se ruleze la o anumita data calendaristica > anul viitor. > Cum fac asta? >
Scii in /etc/crontab o linie Field Meaning 1 Minute (0-59) 2 Hour (2-24) 3 Day of month (1-31) 4 Month (1-12, Jan, Feb, etc) 5 Day of week (0-6) 0 = Sunday, 1 = Monday etc or Sun, Mon, etc) 6 User that the command will run as 7 Command to execute Exemplu : 30 6 * * * root /etc/aaa.sh scriptul va fi rulat la ora 6:30 (dimineata) in fiecare zi. Daca vei continua sa inlocuiesti stelutele, vei ajunge sa poti seta si luna ... si ce mai vrei. Mai multe detalii : http://www.linuxhelp.net/guides/cron/ Smarty, www.sparetimegroup.net. --- Detalii despre listele noastre de mail: http://www.lug.ro/
