Hot answers tagged cron
Either remove wget exclusion from the nginx configuration, or add something like this as an option to your wget command: --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0" --referrer whatever.example.com
The correct form would be 0 * * * * wget http://<URL> > /path/to/file e.g. 0 * * * * wget http://www.serverfault.com > /tmp/serverfault.html But if the URL gets more complicated, you might need to escape characters and/or put this in quotes.
The permission for your crontab is wrong, it is owned by an (nonexistant?) user with the uid 1001, not the user gauthier (or you have some further issues with your system if your uid is 1001). Try sudo chown gauthier /var/spool/cron/crontabs/gauthier and see if this fixes this.
The OpenShift cron directories are meant to contain the actual scripts to be run, not traditional crontab-style entries. So you should instead write a simple script to call your PHP code. #!/bin/bash /opt/rh/php54/root/usr/bin/php ../../../cron/status.cron.php
You can try the following: create a file before the job starts and remove it, when it finished. 20 minutes after the job starts check if the file exists. If so then send a notification 00 07 * * * touch /tmp/run_trans_push.started; /u01/home/oracle/sysadm/run_trans_push.sh > /u01/home/oracle/trc/run_trans_push.sh_`date +\%b_\%d`.trc 2>&1; rm -f ...
Restarting your servers for "sanitation purposes" is a poor approach to administration. Do not do this unless you are installing updates or have legitimate reasoning to. If you actually want to proceed and you assume your database server is going to take a while to reboot (and your web server isn't), you could just schedule the reboot on the web server to ...
Check the persistent temp directory /var/tmp/ for a Vi.recover directory.
I'm not crazy. Suse have identified it as a regression which will be fixed shortly.
chkcrontab works perfectly to me! Thanks Dave. Unfortunately, this site doesn't me to vote yet. To install it (as root user, or use with the prefix command sudo): pip install chkcrontab If you haven't pip installed, try before: apt-get update apt-get install python-pip
Only top voted, non community-wiki answers of a minimum length are eligible