drush state-setfor drush 7x
Set a state value.
drush state-set
-
Aliases
state-set has 1 alias/es:
drush sset
-
Arguments
state-set accepts 2 argument/s:
key : The state key, for example "system.cron_last".
value : The value to assign to the state key. Use '-' to read from STDIN.
-
Options
state-set accepts 2 option/s:
--format
--format : format
--value
--value : value
-
Examples
Sets a timestamp for last cron run.
drush state-set system.cron_last 1406682882
-
Comments
comments powered by Disqus