I have an ubuntu server that i have some scripts that need to run on a cron. The first is a shells script and the second is a php script. How do I check to see what is running currently on cron and how do I add these two files to run on cron daily or hourly. Not sure what the client needs yet. Is there a file i need to change. Any help would be greatly appreciated
Share
crontab -ldisplays the scheduled jobs for current user.You can edit the cron jobs with this command
crontab -e.Each line represents:
e.g. the following line execute a script every 30 minutes (0 and 30 on the clock).
Take a look at this reference for more detail.