####echo "Check for the poller at .openshift/cron/minutely/poller , if not created - create it"if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller ]; thenprintf '%s\n' '#!/bin/bash' 'if [ ! -f $OPENSHIFT_DATA_DIR/last_run ]; then' ' touch $OPENSHIFT_DATA_DIR/last_run' 'fi' 'if [[ $(find $OPENSHIFT_DATA_DIR/last_run -mmin +9) ]]; then #run every 10 mins' ' rm -f $OPENSHIFT_DATA_DIR/last_run' ' touch $OPENSHIFT_DATA_DIR/last_run' ' # The command(s) that you want to run every 10 minutes' 'cd /var/lib/openshift/${OPENSHIFT_APP_UUID}/app-root/repo; /opt/rh/php54/root/usr/bin/php include/poller.php' 'fi' >${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/pollerecho "Done creating file .openshift/cron/minutely/poller"elseecho "The poller already exists"fi##### Set permissions on the poller script to make it executable.echo "Now chmod 777 -R poller"chmod -R 777 ${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/pollerecho "chmod done, permissions set to 777 on poller script."
cd /var/www/hubzilla/git checkout mastergit reset --hard mastergit pullcd addon/git checkout mastergit reset --hard mastergit pull
In MyIsam, run OPTIMIZE TABLE and kill it while it runs. The table will be marked as crashed
mysql> repair table Transactions;^CQuery aborted by Ctrl+C+-----------------------------------+--------+----------+-----------------------+| Table | Op | Msg_type | Msg_text |+-----------------------------------+--------+----------+-----------------------+| test.Transactions | repair | error | 137 when fixing table || test.Transactions | repair | status | Operation failed |+-----------------------------------+--------+----------+-----------------------+2 rows in set (17.84 sec)mysql> select * from Transactions limit 1;ERROR 144 (HY000): Table './test/Transactions' is marked as crashed and last (automatic?) repair failed
If this is my case, what can I do?
I've tried to do some pull/push with a clone of the repo created with "fork" (an android app), but nothing happened
repair table config;
checkstatusOK