Hey guys,

I have asked this a while ago, if it would be possible to create date
based schedule codes.

I know you can add dates in the cut info, but then they are still
sheduled, but marked in red.

So I was wondering i someone could help me out with a bash script.

The idea would be that we code music by week numbers : week01 upto week52

And have one code for example : thisweek

What I would like to achieve is a bash that:
 - clears the thisweek code from the DB
 - calculates the weeknumber with an offset (because we schedule 10
days ahead) with overflow for 53 and 54 being 1 and 2
 - then adds the thisweek code to all the carts carrying the weekxx
code (xx being the calculated week number)

I would like to run this as a cronjob on a monday morning :)

Would this be do-able ?

Regards
Peter
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to