Hot answers tagged

1

The infomix locale need to be set in crontab INFORMIXDIR=/home/informix CLIENT_LOCALE=es_es.8859-1 DB_LOCALE=es_es.8859-1 0 15 * * * /home/user/my-script.sh The locale es_es.8859-1 is in my case, you need to check what is your locale.


1

To run a job every 23 minutes the following won't work: */23 * * * * /some/command As that will run on 00:00, 00:23 , then 23 minutes later again on 00:46 and then again on 01:00 which is 14 minutes later and not quite every 23 minutes. The reason for that is that the / in */23 is not a mathematical "divide by" and does not match "whenever the ...


1

I would suggest executing the script from the sending side and using that to trigger the receive portion. There's no sense in starting a cron job on both ends... You can issue commands on your remote server from the local server using ssh.



Only top voted, non community-wiki answers of a minimum length are eligible