Problem
I'm trying to run Elysia Cron with Drush. When I use the command drush elysia-cron
in the correct folder it runs.
However when I use an alias it doesn't work: drush @main elysia-cron
.
The alias works correctly. And after a bit of digging I found the following lines in debug:
"error":"DRUPAL_USER_LOGIN_FAILED"},
{"type":"error","message":"The drush command 'elysia-cron' could not be executed.",
"timestamp":1385993042.4437,"memory":60455120,"error":"DRUSH_COMMAND_NOT_EXECUTABLE"}]
Apparently when I use an alias it loses login permission.
The only user related function for Drush I could find is remote user, but I think that's only for running drush remotely through SSH. How can I give my alias login permission?