Does cron allow multiple commands?


#1

When you setup cron on the dreamhost panel does it allow multiiple commands in the list, one per line?

Can it by achieved by separating them with semicolons, ie “;” character ?


#2

You could always test that to see.

If I had multiple things to do that i wanted consolidated to a single cron entry, my approach would be to have cron run a single script that did those multiple things. It adds a layer sure, but updates are simpler.

If the tasks are not related in anyway but just both have the same schedule, I would make 2 cron entries with the same schedule.