hi,
I am a super super newbie. I am trying to write a very simple script which is inveoked daily by crontab. So I need the variables defined in the script (like $i) to mantain their value the next day....
so. let's say my script simply wants a vaiable to be 1 on day one 2 on day 2 3 on day 3 etc... how can I do that?
If I type something like $++ the variable is gonna be forever 1. if I create a loop, all the loop will be executed when the script is invoked once... how can I have a loop executed one loop per day...so to speak?
I hope this makes at least some sense.