7404 is a standard power (old) TTL inverter. It won't work since Iin low needs more current than 1k can deliver below 1.3V. Std TTL input is driving a low impedance for logic 0 below two Vbe drops (1.3) where <0.8 is valid.
CD4069 is one of many types of CMOS inverters with high impdance input, and input threshold adjusts to V/2 or whatever gives a 50% duty cycle as R feedback and input capacitance forms a low pass DC self bias.
also you should read up on how crystal oscillators work with shunt capacitance to tune to specified freq for a rated load cap like 15pf
Check lib. For CMOS.