I want to perform a job every day on the server side, for example at 01:00 AM, and I was told that I can use a cron job.
If I execute crontab cron.txt for a specific time, let's say 02:00 every day, and then I amend the date in cron.txt (to 06:00 for example), do I have to re-execute the cron.txt file again?
cronwill run the statement and end as the process ends. If you want/need to rerun on a schedule, you need to setupcronto do that, or (not recommended) find a way to keep the process alive and monitoring the current (to the process) time. – Jared Farrish Oct 30 '11 at 23:58