- Forums
- Apache Hosting
- Follow This Procedure To Run A Cron Job Only ONCE!
run a cron job only once - sometimes crons is just too much to do what you want to accomplish. you might simply want to run a single command at a specified [990], Last Updated: Mon Jun 24, 2024
Downther
Sat Feb 27, 2010
2 Comments
804 Visits
Well, today I was making some cron jobs, and I realized I wanted to schedule this script but I only wanted to do It once and that was It
but It seems with cron jobs, It cycles depending on what Intervals you set It.
well, If you are In the same situation as I am, you can use the
atsometimes crons Is just too much to do what you want to accomplish. you might simply want to run a single command at a specified point In the future on a one time basis, rather than on on going basis, for this takes, Linux provides another command, Its call: at
in ordinary use this command takes silge opti
for example
at -f mycommands.txt noon
this will run at noon time