I have moodle installation on linux platform. I want to set up a cron job for sending e-mails to users. I've read about using crontab program and configuring it.
But according to my client requirements I want to execute it WITHOUT using crontab.
Can anybody help me on this?
Thanks in advance... :)
Have you tried while
, loop
?
Example:
while true;
do echo "Hello" ;
sleep 100;
done &
So you can enter your command / email script after do
, or you can make a script for email process and called after do,
Note: kindly add end & symbol, so this will get execute in background.
Thanks.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.