Create Job just from SQL script

I have a Job that I want to manually run via creating the job from a database script, which tables or structure do I need to insert into, Do I just mimic one of the records in the Job table?