So cooking a load of food the day before and then eating that cold on the Sabbath is OK?which when followed fully includes:
no lighting of fire (includes switching on or off electricity and therefore use of electric devices)
no tearing/cutting - to include food wrapping / tins / toilet paper
no carrying outside of the house (unless you live in a walled city) - that means nothing can be carried
no playing musical instruments
work - includes hobbies DIY etc
the prohibition of work pertains to your entire household to include your slaves, servants, concubines and beasts
I assume there's exemptions for the IDF or the locals would only kick off once a week.