On Wed, Feb 22, 2006 at 01:45:44PM +0800, JM wrote:
>       i executed this and it works... but when I placed it as a scheduled 
> task 
> (cron) hmm no result..
> 
> echo test >> `date --date=yesterday "+%B_%Y"`_sample.txt

FROM crontab(5):

The entire command portion of the line, up  to  a  newline  or  %
character, will be executed by /bin/sh or by the shell specified
in the SHELL variable of the cronfile.   Percent-signs  (%)  in  the
command, unless escaped with backslash (\), will be changed into newline
characters, and all data after the first % will be sent  to  the
command  as standard input.


HTH
-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to