I have this code snippet:$CUSER=tim$APPDIR=/var/www/testing$APPVENV=/var/www/testing/vencat > $APPDIR/cronfile << EOFPWD=$APPDIR/$CUSERPATH=$APPVENV/bin:\$PATH0 2 * * * testapp search newsiteEOFcrontab $APPDIR/cronfileIt seems to work but I'm really confused about how I would try to run this manually. What does this expand to if I wanted to run it from a command from shell?I tried something like this but it didn't work :(cd /var/www/testing/ven testapp search newsite
Manually executing a CRON - Confused about params
linux;debian;bash;shell
As you are adding $APPVENV/bin to your path in order to run this from cron you should use:cd /var/www/testing/ven/tim/var/www/testing/ven/bin/testapp search newsite