1
vote
0answers
336 views

CronJob for asterisk queue to reset + FreePBX

I am having problems with this script...It doesn't seem to work. Note: It sends email just fine. #!/bin/bash #Reset the queue every morning at 5:00AM PST #v 1.1 changed email #Email alert that ...
1
vote
2answers
2k views

Cron daemon running status check

I have a script which need to be run as cron job. In the staging environment i could run the script as a cronjob. but in the production environment it is not working, so i checked whether cron ...
2
votes
1answer
270 views

Where to store security credentials (aka passwords) for special cron jobs?

I want to write a cron job that authenticates for a certain mail account. As there are multiple ways in giving the script those credentails: config file, hardcoded in script, arguments in cronjob ...
2
votes
1answer
254 views

Script to execute via cronjob that deletes all files in multiple directories

I'm hoping you can lend me your expertise. I use shared hosting on Hostgator and need to figure out how to delete all .gz files in multiple directories every hour. I think I have the cronjob ...