Grains can keep for years. Crushed; probably a few weeks. Check the gravity of the wort, and add some extract if you come up short.
Hops. In the freezer, they do fine. Per Beersmith for Centennial (which has a 40% HSI number, which is relatively high):
6 months storage at:
Room Temp 70 F (loose in plastic bag): Loss 40% AAs (NOTE: this is where the 40% HSI comes from - Hop Storage Index)
Room Temp 70 F (Vacuum packed): Loss 25% AAs
Fridge 35 F loose in plastic bag): Loss 20% AAs
Fridge 35 F (Vacuum packed): Loss 10% AAs
Freezer 0 F (loose in plastic bag): Loss 8% AAs
Freexer 0 F (Vacuum packed): Loss 4% AAs
It is important to keep them cool. Vacuum packing is good, but not critical.