A cron job has a specific syntax: minute hour day month weekday command, where each time interval is specified and followed by the command to execute.